diff options
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 4e96963da6..bf6cf981e4 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -851,7 +851,7 @@ SRC while true do line = @socket.readline - m = /[0-9a-hA-H]+/.match( line ) + m = /[0-9a-fA-F]+/.match( line ) unless m then raise HTTPBadResponse, "wrong chunk size line: #{line}" end |