Skip to content

Commit 4d31bde

Browse files
committed
typofix
1 parent 1b276e2 commit 4d31bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/http/header.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def initialize_http_header(initheader) #:nodoc:
195195
raise ArgumentError, "too long (#{key.bytesize} bytes) header: #{key[0, 30].inspect}..."
196196
end
197197
if value.to_s.bytesize > MAX_FIELD_LENGTH
198-
raise ArgumentError, "header #{key} has too long field vallue: #{value.bytesize}"
198+
raise ArgumentError, "header #{key} has too long field value: #{value.bytesize}"
199199
end
200200
if value.count("\r\n") > 0
201201
raise ArgumentError, "header #{key} has field value #{value.inspect}, this cannot include CR/LF"

0 commit comments

Comments
 (0)