Skip to content

Commit

Permalink
decompress_data bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jstzwj committed Sep 23, 2024
1 parent 464ab93 commit 36c32d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion olah/proxy/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async def _get_file_range_from_remote(
yield raw_chunk
chunk_bytes += len(raw_chunk)

final_data = decompress_data(response.headers.get("content-encoding", None))
final_data = decompress_data(raw_data, response.headers.get("content-encoding", None))
chunk_bytes = len(final_data)
yield final_data
if "content-length" in response.headers:
Expand Down

0 comments on commit 36c32d0

Please sign in to comment.