I'll work on this. I thought the ```header_spec.rb``` had the ```@sanitized``` functionality covered, no?  I ran the spec in Ruby 1.9.3 and 1.8.7. 

-Chris

On Jan 11, 2013, at 1:20 AM, Hans Hasselberg <notifications@github.com> wrote:

> In lib/typhoeus/response/header.rb:
> 
> > @@ -79,6 +77,17 @@ def set_value(key, value, hash)
> >        def raw
> >          @raw || ''
> >        end
> > +      
> > +      # Sets the default proc for the specified hash independent of the Ruby version.
> > +      #
> > +      # @return [ void ]
> > +      def set_default_proc_on(hash, default_proc)
> > +        if hash.respond_to?(:default_proc=)
> > +          hash.default_proc = default_proc
> > +        else
> > +          hash.replace(Hash.new(&default_proc).merge(hash))
> Shouldn't you use merge! or reassign? 
> Is it possible to write a test for it?
> 
> —
> Reply to this email directly or view it on GitHub.
>