Unexpected HTTP response, override forced gzip compression?

emetilchond

New Member
I am trying to request and parse an XML-file, but the server respondes with a \[code\]gzip\[/code\] Content-Encoding, even if I do not request it in my Accept-Encoding header.Now, returning a gzipped response by default is unexpected, but not wrong. However, I do not seem to be able to request a non-gzipped response. I expected that the header\[code\]Accept-Encoding: gzip;q=0, deflate;q=0\[/code\]would do the trick, but apparently not.The libraries I'm using (rdflib) also fails to handle the link/XML-file, so I'm guessing the server is somehow incorrectly configured? Via the browser everything works OK, so I'm not sure. Is there a way to override the \[code\]gzip\[/code\] Content-Encoding? Or is this behavior simply incorrect?
 
Back
Top