hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ossf...@dubioso.net
Subject RE: postmethod does not work
Date Wed, 31 Oct 2007 15:42:48 GMT
Hello Han,

get a trace of the request your servlet is receiving
from the browser. Then get a trace or wire log of the
request you are sending. Compare the two and fix the
notable differences. Order of headers is not relevant,
and headers like Transfer-Encoding and Content-Length
are controlled by HttpClient.
What Content-type does the InputStreamRequestEntity
use? Can you pass the content type in the constructor?
The one you set manually might get overwritten.

cheers,
  Roland

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


Mime
View raw message