On Thu, 13 Jun 2002, Sean M. Burke wrote:

> At 16:18 2002-06-13 -0700, [EMAIL PROTECTED] wrote:
> >In the course of doing this, I have also created a
> >subclass of UserAgent that "properly" handles redirects
> >of POST requests. (By properly, I mean it issues a GET
> >rather than a POST on the redirected URL.) If anyone is
> >interested, I will post it. (pun intended)
>
> Funny, I was just doing that!

Ah -- would you (both) mind mailing me a copy if you do that?  Just a few
weeks ago I filed the same bug against the Python library, which also does
this wrong, but haven't had time to write a patch -- would be less
time-consuming if I had some code to work from.

BTW, I presume that, unlike me, you read the RFC properly and noticed that
the various 30x responses have to be treated differently?  Not all POSTs
should be redirected on all 30x's.  Pretty obvious I know: why else would
there be more than one value of x, but I managed to miss it.


John

Reply via email to