> Hm, the order of adding parameter and setting the request entity is very
> important and also confusing.

No, it's not. You do one or the other, never both.

> Why should the request body always be cleared when adding parameters or
> setting the request entity?

Because POST parameters need to be encoded in a
request entity. Either you leave that to HttpClient,
or you do it yourself.

See also our Application Design FAQ:
http://wiki.apache.org/jakarta-httpclient/FrequentlyAskedApplicationDesignQuestions#head-481bfba2695be563137380a5aa6a26c7ae4d189a

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to