POE::Component::Client::HTTP, redirect after POST request
Anatoliy <[email protected]>
| Newsgroups | gmane.comp.lang.perl.poe |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I've got small trouble because of PoCo::Client::HTTP behaviour on redirecting
after POST request.
http://tools.ietf.org/html/rfc2616#section-10.3.3
Note: RFC 1945 and RFC 2068 specify that the client is not allowed
to change the method on the redirected request. However, most
existing user agent implementations treat 302 as if it were a 303
response, performing a GET on the Location field-value regardless
of the original request method.
Now POE::Component::Client::HTTP uses the same method as in original request,
but I think it should be nice to have an option (or a extra parameter) to
change behaviour.
Anatoliy