On Sun, May 06, 2007 at 06:43:51PM +0900, Minero Aoki wrote:
> Hi,
> 
> On 2007/04/27, at 13:38, Aaron Patterson wrote:
> 
> >>Sorry, I had noticed your mail but have no time to fix now.
> >>Please wait few more days.
> >
> >Any news on this?
> 
> Fixed now.

Looks like there is a bug in the 'tokens' method.  The tokens need to be
stripped because there could be white space between commas.

Here is another patch:

Index: http.rb
===================================================================
--- http.rb     (revision 12258)
+++ http.rb     (working copy)
@@ -1503,7 +1503,7 @@
       return [] unless vals
       vals.map {|v| v.split(',') }.flatten\
           .reject {|str| str.strip.empty? }\
-          .map {|tok| tok.downcase }
+          .map {|tok| tok.strip.downcase }
     end
     private :tokens
 
-- 
Aaron Patterson
http://tenderlovemaking.com/