[Python-ideas] Support data: URLs in urllib

Paul Moore p.f.moore at gmail.com
Sun Nov 4 09:28:40 CET 2012

On Sunday, 4 November 2012, Mathias Panzenböck wrote:
> Shouldn't there be *one* obvious way to do this? req.headers

Well, I'd say that the stdlib docs imply that req.info is the required way
so that's the "one obvious way". If you want to add extra methods for
convenience, fair enough, but code that doesn't already know it is handling
a data URL can't use them so I don't see the point, personally.

But others may have different views...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20121104/c5052a59/attachment.html>

More information about the Python-ideas mailing list