We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b276e2 commit 4d31bdeCopy full SHA for 4d31bde
lib/net/http/header.rb
@@ -195,7 +195,7 @@ def initialize_http_header(initheader) #:nodoc:
195
raise ArgumentError, "too long (#{key.bytesize} bytes) header: #{key[0, 30].inspect}..."
196
end
197
if value.to_s.bytesize > MAX_FIELD_LENGTH
198
- raise ArgumentError, "header #{key} has too long field vallue: #{value.bytesize}"
+ raise ArgumentError, "header #{key} has too long field value: #{value.bytesize}"
199
200
if value.count("\r\n") > 0
201
raise ArgumentError, "header #{key} has field value #{value.inspect}, this cannot include CR/LF"
0 commit comments