Skip to content
Myr

Drop Request.read() (#679)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tom Christie · committed by GitHub · parent e9ebd1d · Browse files · 1 file+0 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−6 removed

  • other:+0 added−6 removed

1 file+0 added−6 removed

modified:httpx/models.py-6 removed
647 unmodified lines
648 class_name = self.__class__.__name__649 url = str(self.url)650 return f"<{class_name}({self.method!r}, {url!r})>"651652 async def read(self) -> bytes:653 """654 Read and return the request content.655 """656 return b"".join([part async for part in self.stream])652658653class Response:654 def __init__(655 self,656 status_code: int,
454 unmodified lines