Message175667
New patch. Instead of adding the data URL support to the doc as a recipe I added it to urllib.request directly. I think this is better and justified, because the old legacy URLopener had (some kind) of support for data URLs.
OT: I think that the legacy URLopener has bugs. It only unquotes the data if it's base64 encoded, but it should be unquoted in any case. Also it returns a StringIO and decodes the content as latin-1. This is wrong, the content is a binary string. It could be text encoded in any kind of charset or not text at all (e.g. an image). |
|
Date |
User |
Action |
Args |
2012-11-16 03:45:11 | panzi | set | recipients:
+ panzi, orsenthil, docs@python |
2012-11-16 03:45:11 | panzi | set | messageid: <1353037511.11.0.221623647517.issue16423@psf.upfronthosting.co.za> |
2012-11-16 03:45:11 | panzi | link | issue16423 messages |
2012-11-16 03:45:10 | panzi | create | |
|