Solved

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

Posted on 2009-05-15
5
572 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

735 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