Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content-Length is not sent on raw retrieval #18

Open
tucked opened this issue Sep 16, 2024 · 1 comment
Open

Content-Length is not sent on raw retrieval #18

tucked opened this issue Sep 16, 2024 · 1 comment

Comments

@tucked
Copy link
Owner

tucked commented Sep 16, 2024

$ curl --head https://my.pbnh.com/d3486ae9136e7856bc42212385ea797094475802
HTTP/1.1 200 OK
Server: nginx/1.23.4
Date: Mon, 16 Sep 2024 21:35:15 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 3549
Connection: keep-alive

$ curl --head https://my.pbnh.com/d3486ae9136e7856bc42212385ea797094475802.txt
HTTP/1.1 200 OK
Server: nginx/1.23.4
Date: Mon, 16 Sep 2024 21:35:18 GMT
Content-Type: text/plain; charset=utf-8
Connection: keep-alive
@tucked
Copy link
Owner Author

tucked commented Sep 16, 2024

This does not appear to be an nginx thing:

$ docker exec nginx curl --head http://pbnh:8000/d3486ae9136e7856bc42212385ea797094475802
...
Server: gunicorn
Date: Mon, 16 Sep 2024 21:36:19 GMT
Connection: close
Content-Type: text/html; charset=utf-8
Content-Length: 3549

$ docker exec nginx curl --head http://pbnh:8000/d3486ae9136e7856bc42212385ea797094475802.txt
...
Server: gunicorn
Date: Mon, 16 Sep 2024 21:36:06 GMT
Connection: close
Content-Type: text/plain; charset=utf-8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant