should Rack::ContentLength
close the body?
#2111
-
Hey, I'm doing this as a discussion rather than an issue because I can't imagine I'm doing this right: In This seems like something that would screw other folk up though, so I'm curious, how are y'all handling that? Should the I've copied the middleware out to my own project and have added: body.close if body.respond_to(:close) just after the body is serialized, and it solved my issue -- is this worth submitting a PR for? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Just found this: Which makes me think that I'm just out of date... |
Beta Was this translation helpful? Give feedback.
It's fixed in master, but it is not yet in any release.