(self, n=-1)
| 692 | return result |
| 693 | |
| 694 | def peek(self, n=-1): |
| 695 | # Having this enables IOBase.readline() to read more than one |
| 696 | # byte at a time |
| 697 | if self.fp is None or self._method == "HEAD": |
| 698 | return b"" |
| 699 | if self.chunked: |
| 700 | return self._peek_chunked(n) |
| 701 | return self.fp.peek(n) |
| 702 | |
| 703 | def readline(self, limit=-1): |
| 704 | if self.fp is None or self._method == "HEAD": |
no test coverage detected