This thread was archived. Please ask a new question if you need help.
My angular app does a GET request which returns a large JSON body (>2 Mb) with the content-length defined in the response headers, but the reply is truncated.
Hi, I have a problem specific to Firefox on Windows 10, it does not happen on other browsers or on Firefox on linux. My angular app does a GET request which returns a large JSON body (bigger than 2 Mb) with the content-length defined in the response headers, but the reply is truncated after a few Kb. Here are the request headers :
Host: staging.patienet.com User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0 Accept: application/json, text/plain, */* Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate, br Referer: https://staging.patienet.com/web2/portal/ X-XSRF-TOKEN: 5bbc213b-6360-43b3-8c74-52c1ea08ce72 Connection: keep-alive Cookie: JSESSIONID=55F8C90C0487A9EE48C05F45BCBFCD9B.jvm1; XSRF-TOKEN=5bbc213b-6360-43b3-8c74-52c1ea08ce72;
Here are the response headers:
HTTP/1.1 200 200 Date: Tue, 26 Nov 2019 15:12:28 GMT Server: Apache/2.4.29 (Ubuntu) X-StackifyID: V1|17a98b16-39f0-16c8-0000-01aa126c9659|C74758|CD1| Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache Expires: 0 Strict-Transport-Security: max-age=31536000 ; includeSubDomains X-XSS-Protection: 1; mode=block X-Frame-Options: SAMEORIGIN X-Content-Type-Options: nosniff Content-Type: application/json;charset=UTF-8 Content-Length: 2130187 Keep-Alive: timeout=5, max=91 Connection: Keep-Alive
What can I try? Thanks for your help. The HAR is available here: https://drive.google.com/open?id=13xilLeY_8YLaGXOuREcXkmS1bsbBg3Wf