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

Set Content-Length to 0 in XSendfile middleware #602 #603

Merged
merged 1 commit into from
Nov 21, 2017

Conversation

robrwo
Copy link
Contributor

@robrwo robrwo commented Nov 15, 2017

Also add POD documenting the configuration options.

@miyagawa
Copy link
Member

Remove the option and always reset the content length to 0. This is a bug inherited from Rack's senfile middleware.

@robrwo robrwo changed the title Add no_content_length option to XSendfile middleware #602 Set Content-Length to 0 in XSendfile middleware #602 Nov 16, 2017

=item variation

The header tag. Defaults to C<X-Sendfile>.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is accurate.

Also add POD documenting the configuration options.
@robrwo
Copy link
Contributor Author

robrwo commented Nov 21, 2017

@miyagawa Changes fixed. Is this alright to merge?

@miyagawa miyagawa merged commit 8fcb8de into plack:master Nov 21, 2017
@miyagawa
Copy link
Member

Thanks!

@robrwo
Copy link
Contributor Author

robrwo commented Nov 24, 2017

Thanks as well. Any plans to release soon?

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.

2 participants