diff options
| author | UltraQbik <no1skill@yandex.ru> | 2024-08-26 20:50:19 +0300 |
|---|---|---|
| committer | UltraQbik <no1skill@yandex.ru> | 2024-08-26 20:50:19 +0300 |
| commit | c5fe32b8ef14585c64a58d6bb17dbcd6061e09d7 (patch) | |
| tree | 234f2d16f5fb5bd6669b4621bd357a3dfa04904b /src/request.py | |
| parent | 60c87d56b3f9a4ea5db4c14bb576d109cb30a49c (diff) | |
| download | httpy-c5fe32b8ef14585c64a58d6bb17dbcd6061e09d7.tar.gz httpy-c5fe32b8ef14585c64a58d6bb17dbcd6061e09d7.zip | |
Reworking file fetching
Diffstat (limited to 'src/request.py')
| -rw-r--r-- | src/request.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/request.py b/src/request.py index fcd50f3..ed828e5 100644 --- a/src/request.py +++ b/src/request.py @@ -81,7 +81,6 @@ class Response: self.data_stream: Generator[bytes, None, None] | None = kwargs.get("data_stream") self.status: StatusCode = status self.headers: dict[str, Any] = headers if headers is not None else dict() - self.compress: bool = kwargs.get("compress", True) # # check for content-length when using data_stream # if self.data_stream is not None and self.headers.get("Content-Length") is None: |