Senthil orsent...@gmail.com added the comment:
I agree with John on this ticket. At the outset, this is Not a bug.
And reading through the referenced ticket indicates the design decision
for the behavior.
In summary:
quote
This suggests to me that *no* automatic repeat of POST
requests should
Senthil orsent...@gmail.com added the comment:
I am assigning this to myself. I shall do some research on this issue +
plus current standings by other clients/libraries and come out with a
summary.
--
assignee: - orsenthil
___
Python tracker
John J Lee jj...@users.sourceforge.net added the comment:
If you have a feature request, please open a separate ticket. This one
is about an alleged bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1424148
Giorgio gior...@gilestro.tk added the comment:
I am not sure where we stand with this issue. It seems to be an old one.
urllib2 still claim (as of python 2.6) the following;
# Strictly (according to RFC 2616), 301 or 302 in response
# to a POST MUST NOT cause a redirection without confirmation
John J Lee jj...@users.sourceforge.net added the comment:
This issue is not a bug, and should be closed. It was discussed at
length many years ago (different bug tracker ticket), and resolved.
Since then the same issue seems to come up every year or so,
apparently raised by people who
Giorgio gior...@gilestro.tk added the comment:
I don't know what this is a workaround *for*.
As you can see yourself, that code does a complete redirection, taking
along the post_data too which is simply not possible by default (and
that is obviously a pain in the neck).
I never said it was
Daniel Diniz aja...@gmail.com added the comment:
I agree that changing the default isn't an option.
However, IMHO, having to override HTTPRedirectHandler.redirect_request
or FancyURLopener.redirect_internal to get RFC compliant (albeit
non-useful in 99.99% of use cases) is a bit weird.
Maybe
Changes by Daniel Diniz aja...@gmail.com:
--
dependencies: +urllib2 POSTs on redirect
nosy: +orsenthil
stage: - test needed
type: - behavior
versions: +Python 2.6, Python 3.0 -Python 2.4
___
Python tracker rep...@bugs.python.org
A.M. Kuchling added the comment:
Can this item be closed, given jjlee's argument against changing the
behaviour?
--
nosy: +akuchling
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1424148
_