diff options
Diffstat (limited to 'lib/net/http')
-rw-r--r-- | lib/net/http/header.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/http/header.rb b/lib/net/http/header.rb index 8f3206d363..3484b5b681 100644 --- a/lib/net/http/header.rb +++ b/lib/net/http/header.rb @@ -77,7 +77,7 @@ module Net::HTTPHeader else val = val.to_s if /[\r\n]/n.match?(val.b) - raise ArgumentError, 'header field value cannnot include CR/LF' + raise ArgumentError, 'header field value cannot include CR/LF' end @header[key.downcase] = [val] end @@ -90,7 +90,7 @@ module Net::HTTPHeader else val = val.to_s if /[\r\n]/n.match?(val.b) - raise ArgumentError, 'header field value cannnot include CR/LF' + raise ArgumentError, 'header field value cannot include CR/LF' end ary.push val end |