Skip to content

Commit

Permalink
Headers should be case insensitive (rfc2616). Fixes jpablobr#26
Browse files Browse the repository at this point in the history
  • Loading branch information
budnik committed Jul 9, 2012
1 parent 7cd3a4a commit fa41ad8
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,3 @@ def underscore_string(str)

end
end

module Net
module HTTPHeader
def []= key, val
unless val
@header.delete key
return val
end
@header[key] = [val]
end
end
end

0 comments on commit fa41ad8

Please sign in to comment.