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 on file serve #3

Merged
merged 2 commits into from
Apr 28, 2024
Merged

Content-Length on file serve #3

merged 2 commits into from
Apr 28, 2024

Conversation

thorsager
Copy link
Owner

When serving a file, the Content-Length header will now be set to the size of the file, if not explicitly set by using a -H argument.

If serving a file and the Content-Length is not set in respose
it will now be set to the size of the file served.
@thorsager thorsager self-assigned this Apr 28, 2024
@thorsager thorsager merged commit 465341a into main Apr 28, 2024
3 checks passed
@thorsager thorsager deleted the content-length branch April 28, 2024 19:21
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

Successfully merging this pull request may close these issues.

None yet

1 participant