From bc0a7a641b6d0d3ff979cfa11e25683f8fa59ebd Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 31 Mar 2023 12:47:48 +0900 Subject: [PATCH] [ruby/net-http] typofix https://github.com/ruby/net-http/commit/4d31bde125 --- lib/net/http/header.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"