消息 [239684]
I think we should avoid mentioning bytes-like objects until Issue 23740 (http.client support), Issue 23756 (clarify definition), and/or SSLSocket.sendall() support are sorted out.
Changes in non-urlencoded.3.patch:
* Removed iterable object as direct urlopen() argument, since that would require a custom Content-Length and therefore a custom Request object
* Removed Content-Type discussion from urlopen() for similar reasons
* Added iterable object to Request constructor (already tested)
* Clarified default Content-Type whenever data is not None
* Added a test for default Content-Type with iterable object |
|
| 日期 |
用户 |
动作 |
参数 |
| 2015-03-31 11:50:39 | martin.panter | 修改 | recipients:
+ martin.panter, docs@python, serhiy.storchaka |
| 2015-03-31 11:50:39 | martin.panter | 修改 | messageid: <1427802639.04.0.473499416414.issue23360@psf.upfronthosting.co.za> |
| 2015-03-31 11:50:39 | martin.panter | 链接 | issue23360 messages |
| 2015-03-31 11:50:38 | martin.panter | 创建 | |
|