Solved

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

Posted on 2009-05-15
5
575 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: 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

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…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

738 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