mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Use https:// instead of http:// [ci skip]
This commit is contained in:
parent
7e536b3be2
commit
16bc9bf7e8
1 changed files with 2 additions and 2 deletions
|
@ -375,7 +375,7 @@ module URI
|
|||
# If +enc+ is given, convert +str+ to the encoding before percent encoding.
|
||||
#
|
||||
# This is an implementation of
|
||||
# http://www.w3.org/TR/2013/CR-html5-20130806/forms.html#url-encoded-form-data.
|
||||
# https://www.w3.org/TR/2013/CR-html5-20130806/forms.html#url-encoded-form-data.
|
||||
#
|
||||
# See URI.decode_www_form_component, URI.encode_www_form.
|
||||
def self.encode_www_form_component(str, enc=nil)
|
||||
|
@ -416,7 +416,7 @@ module URI
|
|||
# This method doesn't handle files. When you send a file, use
|
||||
# multipart/form-data.
|
||||
#
|
||||
# This refers http://url.spec.whatwg.org/#concept-urlencoded-serializer
|
||||
# This refers https://url.spec.whatwg.org/#concept-urlencoded-serializer
|
||||
#
|
||||
# URI.encode_www_form([["q", "ruby"], ["lang", "en"]])
|
||||
# #=> "q=ruby&lang=en"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue