diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-01 10:02:03 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-01 10:02:03 +0000 |
commit | cc8bc6b7b6cb429c6a0a4bebc180b70b564e4e99 (patch) | |
tree | 66a398403ade8f1bfd4b95de95b7ca2b5c0923ba /test/webrick/test_httpproxy.rb | |
parent | 9d0fbe23b6ed84657eccac5d657b58eef2855361 (diff) |
Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* lib/webrick/cookie.rb (WEBrick::Cookie.parse): 'white space is
permitted between tokens' according to RFC2965. Though 'Netscape
spec' does not define the syntax clearly, make it tolerant as a
server. As a real-world example, rest-client gem sends
'Cookie: foo=1;bar=2'
* test/webrick/test_cookie.rb (test_parse_non_whitespace): test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick/test_httpproxy.rb')
0 files changed, 0 insertions, 0 deletions