Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
URI
/
HTTP
/
//opt/alt/ruby21/share/ri/2.1.0/system/URI/HTTP/build-c.ri
U:RDoc::AnyMethod[iI" build:EFI"URI::HTTP::build;TT:publico:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading: leveli: textI"Description;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph; [I"ICreate a new URI::HTTP object from components, with syntax checking.;T@ o;; [I"GThe components accepted are userinfo, host, port, path, query and ;TI"fragment.;T@ o;; [I"HThe components should be provided either as an Array, or as a Hash ;TI"Dwith keys formed by preceding the component names with a colon.;T@ o;; [I"EIf an Array is used, the components must be passed in the order ;TI"3[userinfo, host, port, path, query, fragment].;T@ o;; [I" Example:;T@ o:RDoc::Markup::Verbatim; [ I";newuri = URI::HTTP.build({:host => 'www.example.com', ;TI" :path => '/foo/bar'}) ;TI" ;TI"Enewuri = URI::HTTP.build([nil, "www.example.com", nil, "/path", ;TI" "query", 'fragment']) ;T:@format0o;; [I"DCurrently, if passed userinfo components this method generates ;TI"'invalid HTTP URIs as per RFC 1738.;T: @fileI"lib/uri/http.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(args);T@+TI" HTTP;TcRDoc::NormalClass00