Skip to content

Commit 47b01b1

Browse files
committed
'Content-Length' header mismatch when downloading Python packages, so omit header for now
1 parent 44b0bf7 commit 47b01b1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/murfey/server/api/bootstrap.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,8 +1163,6 @@ def get_pypi_file(
11631163
headers: dict[str, str] = {}
11641164
if response.status_code != 200:
11651165
raise HTTPException(status_code=response.status_code)
1166-
# if response.headers.get("Content-Length"):
1167-
# headers["Content-Length"] = response.headers["Content-Length"]
11681166
return StreamingResponse(
11691167
content=response.raw,
11701168
status_code=response.status_code,

0 commit comments

Comments
 (0)