IE9 not sending Accept-Encoding: gzip, deflate

Posted on 2014-07-11
Last Modified: 2014-07-22
My Internet Explorer is not sending below line in the header-
Accept-Encoding: gzip, deflate

Open in new window

I confirmed this by checking the response content type in IE DeveloperTools. "TEXT/HTML" is appearing there in "Type" field.

FireFox browser, is sending GZIP in the header and getting the compressed response.

How can I enable GZIP for IE?
Question by:Ravi Kalla
    LVL 13

    Expert Comment

    The link is http or https ?
    Is it okay let us know the exact link site path so that  we can try it at our side with Charles http proxy debugger

    Could you try this follows to see any improvement ?

    -1 On the Tools menu in Internet Explorer, click Internet Options.
    -2 Click the Advanced tab.
    -3 In the Settings box, scroll down to the Security section, and then make sure that the Do not save encrypted pages to a disk check box is not selected.

    Hope understand your question completely.If not, please point it out.

    LVL 6

    Author Comment

    by:Ravi Kalla
    It is HTTP link. As it is intranet site, exact link may not be useful. I enabled gzip on the server side and it is working for FireFox browser.

    gzip is not working for IE browser only as it is not sending Accept-Encoding: gzip, deflate in its header.

    And yes "Do not save encrypted pages to a disk" check box is not selected.
    LVL 13

    Assisted Solution

    Could you use Fiddler or Charles http debugger as following links to view the request and response  instead of using IE developer tools ?
    Probably you can view  Accept-Encoding:gzip. The issue may be
    due to inspect process from  IE developer tools

    Similar issue for Content-encoding happen before from this link
    due to IE developer tools ( article date in 2012)

    Have you received compressed raw data or decompressed file data completely from both IE and FF regardless of Accept-encoding issue on IE developer tools ?

    LVL 6

    Accepted Solution

    I found that IE is sending "Accept-Encoding: gzip, deflate" in the request header with the help of -
    DeveloperTools->Network->StartCapturing->Select a request and click "Go to detailed view"->Request headers

    I confused earlier as the Response header doesn't contain "Content-Encoding : gzip" in it even though GZIP coming to the IE browser. Reason for this is-

    IE decodes(or decompresses) the response even before pushing the header to DeveloperTools. So, it is not shown as compressed content in the response header. Where as in FireFox, RAW response is shown in the FireBug where in we can see “Content-Encoding : gzip” in the response header and then uncompression is done.

    Reference link.
    LVL 13

    Expert Comment

    Thanks for your points

    Have a nice day

    LVL 6

    Author Closing Comment

    by:Ravi Kalla
    Though my own solution is perfect fit for my need, "duncanb7" has provided some good links and answer.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Introduction and Prerequisites This article describes methods for detecting whether a client browser accepts and returns HTTP cookies and whether the client browser runs JavaScript.  Most client browsers will, by default, be configured to use cooki…
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
    In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now