From: "Martin J. Dürst" Date: 2011-04-04T10:38:52+09:00 Subject: [ruby-dev:43382] Re: [ruby-cvs:38408] Ruby:r31228 (trunk): Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi RFC2965 とか 'Netscape spec' より、 http://tools.ietf.org/html/draft-ietf-httpstate-cookie-23 を見たほうがい いかと思います。もうすでに IESG から承認されましたので、RFC の番号がまだ ないものの、正式なものになっています。(http://datatracker.ietf.org/doc /draft-ietf-httpstate-cookie/ 参照)。 よろしくお願いします。 Martin. On 2011/04/01 19:02, nahi@ruby-lang.org wrote: > nahi 2011-04-01 19:02:03 +0900 (Fri, 01 Apr 2011) > > New Revision: 31228 > > http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31228 > > Log: > Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi > > * 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. > > Modified files: > trunk/ChangeLog > trunk/lib/webrick/cookie.rb > trunk/test/webrick/test_cookie.rb > >