summaryrefslogtreecommitdiff
path: root/lib/uri/http.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2021-06-25 13:24:56 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-07-27 16:54:26 +0900
commit090d799c2496f4c0e1f25c9970f4015fc693ff0e (patch)
tree3a96ecfaa033b158655be52d1df4eb4b8f56264b /lib/uri/http.rb
parenta288c21a5d46418e75c0f03eb12ff0782e51568d (diff)
[ruby/uri] Revert "Fix to support Ruby 3.0 Ractor"
* This reverts commit 1faa4fdc161d7aeebdb5de0c407b923beaecf898. * It has too many problems, see https://github.com/ruby/uri/pull/22 for discussion. https://github.com/ruby/uri/commit/b959da2dc9
Diffstat (limited to 'lib/uri/http.rb')
-rw-r--r--lib/uri/http.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/uri/http.rb b/lib/uri/http.rb
index ccd09ddd0ca..70cfb2a1bfc 100644
--- a/lib/uri/http.rb
+++ b/lib/uri/http.rb
@@ -81,4 +81,7 @@ module URI
url.start_with?(?/.freeze) ? url : ?/ + url
end
end
+
+ @@schemes['HTTP'] = HTTP
+
end