From: Minero Aoki Date: 2004-11-27T15:28:50+09:00 Subject: Re: BUG: small glitch in Net:HTTP when adding custom headers Hi, In mail "BUG: small glitch in Net:HTTP when adding custom headers" Michal wrote: > today I was toying a bit with Net:HTTP and found small glitch > in HTTPGenericRequest#initialize ... line 1106 reads: > > @header[key] = v.strip > > which fails on NoMethodError when value of added header is not > String (it was triggered by Fixnum in my case). I think this is the right behavior. An header field is a String, you should provide a String. Instant #to_s call will hide some kind of bugs (e.g. nil). Regards, Minero Aoki