Solved

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

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

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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…

747 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

9 Experts available now in Live!

Get 1:1 Help Now