DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21584>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21584

POST redirects cannot be executed

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|setFollowRedirects method   |POST redirects cannot be
                   |doesn't seem to be working  |executed
   Target Milestone|---                         |3.0 Final
            Version|Nightly Builds              |2.0 Final



------- Additional Comments From [EMAIL PROTECTED]  2003-07-14 20:56 -------
Aaron,

This is in fact a very well known problem. 

There are two aspects to it:

- We are not supposed to automatically redirect POST requests if we strictly
follow the word of the RFC

- Sadly enough, we simply can't do it at the moment due to design limitations.
RFC requires HTTP agents to issue a GET (not a POST) against the new location in
response to a POST redirect. Currently classes that implement HttpMethod
interface represent both a request and a response. This is a fundamental mistake
which prevents us from being able to 'convert' a request of type POST to request
of type GET.

We are planning to fix the problem in the 3.0 release

Oleg

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

Reply via email to