Permalink
Browse files

Let's try stripping whitespace.

  • Loading branch information...
1 parent da3dc09 commit 5c196944cb9d751ed6531b72ed59927b90746e74 @jplewicke committed Feb 11, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/rack/reverse_proxy.rb
@@ -127,8 +127,9 @@ def create_response_headers http_response
# response_headers['set-cookie'] = cookies.values.join(';')
# end
cookies = response_headers['set-cookie']
+ cookies.collect! {|h| h.strip}
response_headers.delete('set-cookie')
- response_headers['Cookie'] = cookies
+ response_headers['Set-Cookie'] = cookies
# handled by Rack
response_headers.delete('status')

0 comments on commit 5c19694

Please sign in to comment.