This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author panzi
Recipients docs@python, orsenthil, panzi, pitrou
Date 2012-11-17.23:42:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <50A820CE.4070300@gmx.net>
In-reply-to <1353195399.15.0.631545740871.issue16423@psf.upfronthosting.co.za>
Content
On 11/18/2012 12:36 AM, Antoine Pitrou wrote:
>
> Antoine Pitrou added the comment:
>
> A couple of comments:
>
> - the patch needs a test (and docs too)

Will do (when I have time).

> - are you sure ignoring POSTed data is the right thing to do? Shouldn't we forbid it instead?
> - I think it would be nice to reference the RFC number somewhere
> - not sure why you raise IOError on a bad URL; I would say ValueError is the right exception here
>

I did that because that's what the old URLopener code does (ignoring POSTed data and raising an 
IOError). The comment is actually a 1:1 copy of the old code.

> +1 on the general idea, by the way.
>
> ----------
> nosy: +pitrou
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue16423>
> _______________________________________
>
History
Date User Action Args
2012-11-17 23:42:08panzisetrecipients: + panzi, orsenthil, pitrou, docs@python
2012-11-17 23:42:08panzilinkissue16423 messages
2012-11-17 23:42:08panzicreate