summaryrefslogtreecommitdiff
path: root/lib/net/http.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-15 21:37:30 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-15 21:37:30 +0000
commitde75f3c0a6f0cb73f1b2c9572af8edda4eb25658 (patch)
treea246e835893a67090e1fcce10a820275ad35b2b1 /lib/net/http.rb
parent368683723e6c4a63b91b39b81da69409a824a837 (diff)
aamine
* lib/net/http.rb: hex-alpha is not [a-h] but [a-f]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r--lib/net/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 4e96963..bf6cf98 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