Skip to content

Content-Length on file serve#3

Merged
thorsager merged 2 commits intomainfrom
content-length
Apr 28, 2024
Merged

Content-Length on file serve#3
thorsager merged 2 commits intomainfrom
content-length

Conversation

@thorsager
Copy link
Copy Markdown
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
@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.

1 participant