summaryrefslogtreecommitdiff
path: root/lib/net/http.rb
diff options
context:
space:
mode:
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,