Permalink
Browse files

setStatus takes an int

  • Loading branch information...
pjhyett authored and dekellum committed Mar 16, 2011
1 parent 4e21ff1 commit 5d4dc50d48ee77708b0fb0e388a96b11a19d7017
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mizuno/rack_servlet.rb
@@ -188,7 +188,7 @@ def rack_to_servlet(rack_response, response)
# data out on an async request.
unless(response.isCommitted)
# Set the HTTP status code.
- response.setStatus(status)
+ response.setStatus(status.to_i)
# Did we get a Content-Length header?
content_length = headers.delete('Content-Length')

0 comments on commit 5d4dc50

Please sign in to comment.