Author orsenthil
Recipients andresriancho, facundobatista, orsenthil
Date 2007-11-08.04:07:00
SpamBayes Score 0.0603422
Marked as misclassified No
Message-id <1194494821.67.0.105898573576.issue1401@psf.upfronthosting.co.za>
In-reply-to
Content
I agree with facundobatista here.
1) I am not sure, if what you mention that doing POST in the 302
redirect url does not carry forward the POST data. Some examples would
help to verify that and if this is case, IMO its a bug in urllib2.
2) You mention solution 1 as RFC compliant? Does RFC mention about
changes to request headers for a redirection? Please quote the relevant
section
also I find in RFC2616 under 302 Found that:
<quote>      Note: RFC 1945 and RFC 2068 specify that the client is not
allowedto 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.</quote>
But could not find any references for behaviour with respect to POST on
redirection.
History
Date User Action Args
2007-11-08 04:07:01orsenthilsetspambayes_score: 0.0603422 -> 0.0603422
recipients: + orsenthil, facundobatista, andresriancho
2007-11-08 04:07:01orsenthilsetspambayes_score: 0.0603422 -> 0.0603422
messageid: <1194494821.67.0.105898573576.issue1401@psf.upfronthosting.co.za>
2007-11-08 04:07:01orsenthillinkissue1401 messages
2007-11-08 04:07:00orsenthilcreate