Quantcast
Viewing all articles
Browse latest Browse all 3822

Configure Content-Length header rather than the Transfer-Encoding: chunked

Hi Everyone,

I have configured HTTP compression (GZIP) and can see the Accept-Encoding header. However the response out is now sending a 'Transfer-Encoding: chunked' header instead of a Content-Length header but from the tcpdump output I can see that it is the gzipped resource that is served by Jetty, so this is good:

Vary: Accept-Encoding^M
Content-Encoding: gzip^M
Content-Type: application/javascript^M
Accept-Ranges: bytes^M
Cache-Control: no-cache,must-revalidate^M
Last-Modified: Fri, 12 Oct 2018 01:57:57 GMT^M
Content-Length: 272145^M  

Is there anyway to get Forefront to return the Content-Length header rather than the Transfer-Encoding: chunked header - the response from Jetty contains this as the content size is known.

Thanks in advance.

DoJu


Viewing all articles
Browse latest Browse all 3822

Trending Articles