How can I verify that okhttp negotiated http / 2 successfully and was not using https / 1.1 instead? Is there any information in the answer that I can check?
Thanks, -Tony
FYI, since okhttp 3.0 or so OkHttp-Selected-Protocol doesn't print.
OkHttp-Selected-Protocol
The protocol can be easily seen in the response object.
Ok, I think I got the answer. If I print out the response headers I got this: OkHttp-Selected-Protocol: h2
Am I supposed to assume that it successfully negotiated the response on http / 2?
Thank! -tony