Re: http/1.1 decompress

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thus wrote Frederik,

Kevin,

I don't seem to be able to solve the decompress problem but I have
another
possible solution for my problem.
Maybe you can help me with that.
I should be able to remove the content-encoding field from the header
before
the request is send to the server => the server won't compress the
message
and I can read the response.
So I think I should create a sort of proxy that checks outgoing
messages for
the content-encoding field.
I should capture the messages before they're are being send to port
80, adjust them and do a resend.

The only problem is that I'm not sure how I can create such a
construction.

Do you have an idea how I can start?

To avoid receiving compressed content, make sure *not* to send an Accept-Encoding header with a value of "gzip" or "deflate". .NET 1.x has no built-in support for compression, so just make sure you don't set the header in your code explicitly. In .NET 2.0, set HttpWebRequest.AutomaticDecompression to DecompressionMethods.None.

Cheers,
--
Joerg Jooss
news-reply@xxxxxxxxxxxxx


.



Relevant Pages

  • [NT] Port80 Software ServerMask Inconsistencies
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... IIS servers by obfuscating header fields within HTTP responses: ... "ServerMask 2.0 removes or modifies unnecessary response data. ... provide reliable clues to the server being Microsoft IIS. ...
    (Securiteam)
  • Re: minimal httpd response
    ... RST, abortively closing the connection. ... The responsibilities of an HTTP/1.1 proxy, and of an HTTP/1.1 server ... user agent, without a proxy, first, and then try to deal ... Connection header; with a Content-length header; or with the chunked ...
    (comp.programming)
  • Re: I want my MOM
    ... >> 5) Require that the header MUST have the content-length ... >> again slam the server with never ending data until it dies. ... server to have a reason to boot bad clients. ... Another thing a pre-sized protocol does is make it much harder to have ...
    (comp.lang.ruby)
  • Re: MimeOLE V6.00.2900.2180 creates incorrect X- header
    ... from Server, such as move to another folder, does ... engine loops when it encounters the defective empty header when it ... the POP3 server sends a period on a line by ... The search for the final header loops because of the malformed EOM ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Its driving me crazy!
    ... Here's a sample list of ISPs ... The first header is a "Received" header. ... You can trust most of what this header tells you. ... The server at that address _claimed_ that it was ...
    (microsoft.public.security.virus)