diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-31 12:47:48 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-03-31 03:47:56 +0000 |
commit | bc0a7a641b6d0d3ff979cfa11e25683f8fa59ebd (patch) | |
tree | e9d47476c48729c229a7711efd98ba0a9d71fad3 /lib/net | |
parent | eedcd696a57521a18963d58487db8057a374a67a (diff) | |
download | ruby-bc0a7a641b6d0d3ff979cfa11e25683f8fa59ebd.tar.gz |
[ruby/net-http] typofix
https://github.com/ruby/net-http/commit/4d31bde125
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/http/header.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http/header.rb b/lib/net/http/header.rb index 3bb57ff235..b704860c90 100644 --- a/lib/net/http/header.rb +++ b/lib/net/http/header.rb @@ -195,7 +195,7 @@ module Net::HTTPHeader raise ArgumentError, "too long (#{key.bytesize} bytes) header: #{key[0, 30].inspect}..." end if value.to_s.bytesize > MAX_FIELD_LENGTH - raise ArgumentError, "header #{key} has too long field vallue: #{value.bytesize}" + raise ArgumentError, "header #{key} has too long field value: #{value.bytesize}" end if value.count("\r\n") > 0 raise ArgumentError, "header #{key} has field value #{value.inspect}, this cannot include CR/LF" |