#22 ✓resolved
Nathan

each_line problem in response.rb

Reported by Nathan | January 26th, 2008 @ 07:01 PM | in 0.6.2

Using thin-0.6.1-x86-mswin32-60 gem:

lib/thin/response.rb - lines 37-41

    def headers=(key_value_pairs)
      key_value_pairs.each do |k, vs|
        vs.each_line { |v| @headers[k] = v.chomp }
      end
    end

gives "Unexpected error while processing request: undefined method `each_line' for []:Array"

Reverting to "each" (from previous mswin32 gem) solves the problem.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages