Solved

http header accept-encoding.  what value means no encoding?

Posted on 2009-05-15
5
571 Views
Last Modified: 2013-11-22
Hello Experts,

I've read that If I exclude the Accept-Encoding header, some servers might interpret that as meaning that I can accept any encoding.  Is there a value to attach to Accept-Encoding that specifically means that no encoding can be accepted?

also as a bonus =) what's the difference between Accept-Encoding and Content-Encoding?
0
Comment
Question by:sfun28
5 Comments
 
LVL 33

Accepted Solution

by:
shalomc earned 500 total points
ID: 24419320
Accept-Encoding: *;q=0

of you do not include this header in the request, the server may throw anything at you (RFC 2616)

while accept-encoding is sent by the client as an indication of what is acceptable from the client's point of view, the Content-Encoding header is sent by the server as a response that indicates the encoding of the payload.


0
 
LVL 1

Author Closing Comment

by:sfun28
ID: 31581981
exactly what I was looking for!!!  thanks so much!!!
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

861 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