forked from rack/rack
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close the original body passed to Rack::ETag
The Rack spec states: > If the Body responds to `close`, it will be called after iteration. If > the body is replaced by a middleware after action, the original body > must be closed first, if it responds to close. After Rack::ETag replaces the response body, close the original body. Signed-off-by: David Celis <me@davidcel.is>
- Loading branch information
1 parent
1f47a44
commit 3a388bc
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters