Compare commits
10 commits
845ccb10ab
...
9d7d72377e
Author | SHA1 | Date | |
---|---|---|---|
9d7d72377e | |||
c3cd44205f | |||
3c2dcc73e5 | |||
2077cfb8b9 | |||
50dfd25450 | |||
ccac1cf651 | |||
dc548fcb83 | |||
1a8894eece | |||
bcf875b1d8 | |||
d2fadb58f9 |
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ class HTTP::Server::Response
|
|||
class Output
|
||||
def close
|
||||
# ameba:disable Style/NegatedConditionsInUnless
|
||||
if !response.wrote_headers? && !response.headers.has_key?("Content-Range") && !response.headers.has_key?("Content-Length")
|
||||
unless response.wrote_headers? && !response.headers.has_key?("Content-Range") && !response.headers.has_key?("Content-Length")
|
||||
response.content_length = @out_count
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue