aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net/http.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-12 09:54:32 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-12 09:54:32 +0000
commit76819ef99ab0986f9d5b174b68fed919e4cd9585 (patch)
tree02b1c58dc07b8d9ca4e68df53fba4dfa49b6f0f8 /lib/net/http.rb
parent9dbce410e10e409f178291c1ef1007a1d9dd718c (diff)
downloadruby-76819ef99ab0986f9d5b174b68fed919e4cd9585.tar.gz
aamine
* lib/net/pop.rb: POP3#reset * lib/net/http.rb: a code for "Switch Protocol" was wrongly 100 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@999 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 5d4d226cd2..4e96963da6 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -787,7 +787,7 @@ SRC
HTTPCODE_TO_OBJ = {
'100' => ContinueCode,
- '100' => HTTPSwitchProtocol,
+ '101' => HTTPSwitchProtocol,
'200' => HTTPOK,
'201' => HTTPCreated,