0

We use axios to query an API and as long as QUIC is enabled in Chrome the request fails, because the server does not support it.

Can axios be configured to use only HTTP/1.1 for a certain request?

nning
  • 1
  • 2
  • Chrome shouldn't be using QUIC if the server doesn't advertise support for it. It sounds like the server is misconfigured here. – AKX Dec 10 '19 at 10:05

1 Answers1

0

OK, I found the answer:

Is there a way to force an XMLHttpRequest to use HTTP/1.1?

axios uses XmlHttpRequest as adapter for POST requests and it is not possible to control which protocol the browser chooses to use.

nning
  • 1
  • 2