Skip to content

Commit

Permalink
Add link to Rack specification.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin authored and macournoyer committed Aug 2, 2008
1 parent 278a99a commit 83ac571
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/thin/response.rb
Expand Up @@ -42,6 +42,8 @@ def head

# Ruby 1.8 implementation.
# Respects Rack specs.
#
# See http://rack.rubyforge.org/doc/files/SPEC.html
def headers=(key_value_pairs)
key_value_pairs.each do |k, vs|
vs.each { |v| @headers[k] = v.chomp } if vs
Expand Down Expand Up @@ -94,4 +96,4 @@ def persistent?
@persistent && @headers.has_key?(CONTENT_LENGTH)
end
end
end
end

0 comments on commit 83ac571

Please sign in to comment.