I have a HTTP/2 server running in AWS. When I use my react native iOS app to connect to the server to fetch data using Axios or Fetch, the first request made by the the client is a HTTP/1.1 to which the server responds with [H2] upgrade response. From then on, the client makes HTTP/2 requests.
I want to avoid the first HTTP/1.1 request. Is there a way to do that ?
e.g. From section 3.2: “If concurrency of an initial request with subsequent requests is important, an OPTIONS request can be used to perform the upgrade to HTTP/2, at the cost of an additional round trip.”
Hi @schazers, we have decided to move away from expo. We need to have full control over the network traffic in our application.
Thanks anyway for your help