Skip to content

Commit

Permalink
external_encoding of request's body must be ASCII_8BIT
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyz authored and macournoyer committed Oct 29, 2009
1 parent ecc9002 commit ad10c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thin/request.rb
Expand Up @@ -49,7 +49,7 @@ def initialize
@parser = Thin::HttpParser.new
@data = ''
@nparsed = 0
@body = StringIO.new
@body = StringIO.new ''.encode(Encoding::ASCII_8BIT)
@env = {
SERVER_SOFTWARE => SERVER,
SERVER_NAME => LOCALHOST,
Expand Down

0 comments on commit ad10c3a

Please sign in to comment.