Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-05-15
5
Medium Priority
?
580 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
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…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

963 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