Message253802
| Author | Nan Wu |
|---|---|
| Recipients | Nan Wu, ezio.melotti, martin.panter |
| Date | 2015-10-31.19:01:15 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1446318075.96.0.0512362385049.issue25439@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Martin: Sorry for missing that line.
Under https, byte iterable seems has not been supported:
>>> r = Request('https://www.python.org', {b'post': 'data'}, {'Content-Length':10})
>>> urlopen(r)
... hanging here...
Meanwhile, I assumed bytearray works as expected.
>>> r = Request('https://www.python.org', bytearray('post=data', 'utf-8'))
>>> urlopen(r)
....
....
urllib.error.HTTPError: HTTP Error 403: FORBIDDEN
In *4.patch, I updated Request class doc to add these observations and fixed issues appeared in last patch. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-10-31 19:01:16 | Nan Wu | set | recipients: + Nan Wu, ezio.melotti, martin.panter |
| 2015-10-31 19:01:15 | Nan Wu | set | messageid: <1446318075.96.0.0512362385049.issue25439@psf.upfronthosting.co.za> |
| 2015-10-31 19:01:15 | Nan Wu | link | issue25439 messages |
| 2015-10-31 19:01:15 | Nan Wu | create | |