I've just been playing with redirecting requests using LWP::UserAgent
although you can specify which methods are redirectable using
"requests_redirectable" the code currently still remaps methods other
than GET / HEAD to a GET which breaks POST redirects even
though explicitly requested. Attached is a patch which uses
"requests_redirectable" to determine if the request should indeed be
remapped. This may not be the best way of doing it but seems to
make sense to me.

   Regards
   Steve / K

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please 
telephone (023) 8024 3137
or return the E.mail to [EMAIL PROTECTED]

Attachment: UserAgent.pm.patch
Description: Binary data



Reply via email to