Skip to content

Commit

Permalink
Add changelog entry for last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
macournoyer committed Jul 19, 2008
1 parent affccc9 commit c963402
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
@@ -1,4 +1,5 @@
== 1.0.0 The Big release
* Add Content-Length header to response automatically when possible [#74 state:resolved] [dkubb]
* Runner now remembers -r, -D and -V parameters so that clustered servers inherit those and
`restart` keep your parameters.
* Make Set-Cookie header, in Rails adapter, compatible with current Rack spec [Pedro Belo]
Expand Down
1 change: 1 addition & 0 deletions lib/thin/connection.rb
Expand Up @@ -164,6 +164,7 @@ def set_content_length(result)
headers, body = result[1..2]
case body
when String
# See http://redmine.ruby-lang.org/issues/show/203
headers[CONTENT_LENGTH] = (body.respond_to?(:bytesize) ? body.bytesize : body.size).to_s
when Array
bytes = 0
Expand Down

0 comments on commit c963402

Please sign in to comment.