(self, n=-1)
return result
Read with at most one underlying system call.  If at least one
        byte is buffered, return that instead.
Read with at most one underlying system call.  If at least one
        byte is buffered, return that instead.
Read with at most one underlying system call . If at least one byte is buffered return that instead .
def read1(self, n=-1):
        """Read with at most one underlying system call.  If at least one
        byte is buffered, return that instead.
        """
        if self.fp is None or self._method == "HEAD":
            return b""
        if self.chunked:
            return self._read1_chunked(n)
        if self.length is not None and (n < 0 or n > self.length):
            n = self.length
        result = self.fp.read1(n)
        if not result and n:
            self._close_conn()
        elif self.length is not None:
            self.length -= len(result)
        return result
def read1 ( self , n = - 1 ) : if self . fp is None or self . _method == "HEAD" : return b"" if self . chunked : return self . _read1_chunked ( n ) if self . length is not None and ( n < 0 or n > self . length ) : n = self . length result = self . fp . read1 ( n ) if not result and n : self . _close_conn ( ) elif self . length is not None : self . length -= len ( result ) return result