Skip to content

Commit 7e8f213

Browse files
committed
remove commented code
1 parent f5d467d commit 7e8f213

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

google/cloud/storage/_media/requests/download.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -696,23 +696,6 @@ def _add_decoder(response_raw, checksum):
696696
return checksum
697697

698698

699-
# def _get_decoded_content(raw_content):
700-
# """Get the decoded content from a raw response.
701-
702-
# Args:
703-
# raw_content (bytes): The raw bytes from the response.
704-
705-
# Returns:
706-
# bytes: The decoded bytes from ``raw_content``.
707-
# """
708-
# # If the content is gzip-encoded, decode it.
709-
# if raw_content.headers.get("content-encoding", "").lower() == "gzip":
710-
# return raw_content.read(decode_content=True)
711-
# else:
712-
# return raw_content.read() # type: ignore
713-
714-
715-
716699
class _GzipDecoder(urllib3.response.GzipDecoder):
717700
"""Custom subclass of ``urllib3`` decoder for ``gzip``-ed bytes.
718701

0 commit comments

Comments
 (0)