diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zero/response.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zero/response.rb b/lib/zero/response.rb index 2660924..eec4559 100644 --- a/lib/zero/response.rb +++ b/lib/zero/response.rb @@ -32,8 +32,8 @@ module Zero # def to_a() # TODO Remove content length and body, on certain status codes - # TODO Set content length, if not already set - content_length + # Set content length, if not already set + content_length unless header.has_key? 'Content-Length' # TODO Set content type, if not already set [status, header, body] |