0

Is there a way to request a server to not answer request with Transfer-Encoding: chunked on XMLHttpRequest?

Like passing a value in the header during the request?

In another SO question they said one can use HTTP 1.0, I don't know if this is possible with XMLHttpRequest.

6
  • 1
    Does this answer your question? How to tell the HTTP server to not send chunked encoding Commented Apr 8, 2021 at 18:56
  • See Is there a way to force an XMLHttpRequest to use HTTP/1.1? Commented Apr 8, 2021 at 20:48
  • @HereticMonkey, OK, but is there another way to set it to not send chunked? Commented Apr 8, 2021 at 21:37
  • I would be helpful to understand why you want this. Commented Apr 9, 2021 at 4:14
  • @JulianReschke I'm having an issue where ExtJS framework isn't working well while getting data from my API, I'm not sure, but maybe it's because the API is answering with Transfer-Encoding: chunked, so I want to try having the answer delivered without it. Commented Apr 9, 2021 at 12:12

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.