Skip to content

Improve content-length middleware#166

Merged
tenderlove merged 1 commit intorack:masterfrom
josevalim:master
May 19, 2011
Merged

Improve content-length middleware#166
tenderlove merged 1 commit intorack:masterfrom
josevalim:master

Conversation

@josevalim
Copy link
Copy Markdown
Contributor

  1. It makes Rack::ContentLength middleware conform with the rack specification by removing the to_ary check and by not forwarding the body after it is read;

  2. Make Rack::ContentLength accept an extra header argument that checks for sendfile headers

1) It makes Rack::ContentLength middleware conform with the rack specification by removing the to_ary check;

2) Make Rack::ContentLength accept an extra header argument that checks for sendfile headers
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.

5 participants