hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: Using "removeRequestHeader" method.
Date Thu, 30 Mar 2006 14:36:37 GMT
Hi Tom,

the mailing list archive is your friend:

> Thanks for the information.  The reason I was attempting to remove these
> request headers was to imitate what the Internet Explorer was doing when
> it does a post request to the same web page.  Maybe Internet Explorer is
> not following the rules for HTTP protocol.  

Or maybe you've overlooked a tiny little detail, such as the HTTP version
that IE is using or whether the request is sent through a proxy.

> I have only been using the request entity when doing a multi-part post
> request.  When the post includes only text type parameters I do not
> create the request entity.  Am I doing that right?

If the server likes your requests, then you're doing things right :-)
If you use our PostMethod, you always have a request entity. Setting
name/value pairs directly at the method will implicitly create one,
using url-encoded form parameters.


To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org

View raw message