[OSM-dev] Problem retrieving wiki pages

Roland Olbricht roland.olbricht at gmx.de
Fri Aug 28 10:59:15 BST 2009


> Of course, but the server (or more likely the proxy) is still mis-behaving:
> if the client does not send an 'Accept-Encoding' header, the server must
> return plain text, not gzipped or deflated text.

No. Have a look at the HTTP 1.1 specification
http://tools.ietf.org/html/rfc2616#section-14.3

"If no Accept-Encoding field is present in a request, the server MAY
   assume that the client will accept any content coding."

If you think of a highly frequented server like the wiki, it's a good decision 
to compress the data whenever possible.

Cheers,
Roland




More information about the dev mailing list