Message198142
After adding read1() and peek() what stop us from inheriting HTTPResponse from BufferedIOBase?
I suggest split _read1_or_peek_chunked() by two parts. First part calculates n bounded by chunk_left (it can read the next chunk size and close a connection if needed). Perhaps it can be reused in _readall_chunked() and _readinto_chunked(() too. Second part which is controlled by boolean parameter should be moved out in read1() and peek(). |
|
Date |
User |
Action |
Args |
2013-09-20 12:04:53 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, orsenthil, pitrou, kristjan.jonsson, r.david.murray |
2013-09-20 12:04:53 | serhiy.storchaka | set | messageid: <1379678693.08.0.49966425873.issue19009@psf.upfronthosting.co.za> |
2013-09-20 12:04:53 | serhiy.storchaka | link | issue19009 messages |
2013-09-20 12:04:52 | serhiy.storchaka | create | |
|