Message197598
> My original goal was actually to make response.read(amt) not try to
> make multiple read() calls, so that one could have other delimiters
> than newline. It is simple for the chunked case, but I don't know
> how to bypass it for response.fp, since it is already a buffered
> file that has no guaranteed such behaviour.... wait, one can simply
> call peek() on it and know how much one can get :)
Or you can use read1()? |
|
Date |
User |
Action |
Args |
2013-09-13 15:37:51 | pitrou | set | recipients:
+ pitrou, orsenthil, kristjan.jonsson, serhiy.storchaka |
2013-09-13 15:37:51 | pitrou | link | issue19009 messages |
2013-09-13 15:37:51 | pitrou | create | |
|