U:RDoc::AnyMethod[iI"encode_www_form:EFI"URI::encode_www_form;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"6Generate URL-encoded form data from given +enum+.;To:RDoc::Markup::BlankLineo; ; [I"LThis generates application/x-www-form-urlencoded data defined in HTML5 ;TI"%from given an Enumerable object.;T@o; ; [I"=This internally uses URI.encode_www_form_component(str).;T@o; ; [ I"NThis method doesn't convert the encoding of given items, so convert them ;TI"Mbefore call this method if you want to send data as other than original ;TI"Mencoding or mixed encoding data. (Strings which are encoded in an HTML5 ;TI"9ASCII incompatible encoding are converted to UTF-8.);T@o; ; [I"BThis method doesn't handle files. When you send a file, use ;TI"multipart/form-data.;T@o; ; [I"JThis refers http://url.spec.whatwg.org/#concept-urlencoded-serializer;T@o:RDoc::Markup::Verbatim; [ I":URI.encode_www_form([["q", "ruby"], ["lang", "en"]]) ;TI"#=> "q=ruby&lang=en" ;TI"8URI.encode_www_form("q" => "ruby", "lang" => "en") ;TI"#=> "q=ruby&lang=en" ;TI"BURI.encode_www_form("q" => ["ruby", "perl"], "lang" => "en") ;TI"!#=> "q=ruby&q=perl&lang=en" ;TI"IURI.encode_www_form([["q", "ruby"], ["q", "perl"], ["lang", "en"]]) ;TI"!#=> "q=ruby&q=perl&lang=en" ;T: @format0o; ; [I";See URI.encode_www_form_component, URI.decode_www_form;T: @fileI"lib/uri/common.rb;T:0@omit_headings_from_table_of_contents_below000[I"(enum, enc=nil);T@0FI"URI;FcRDoc::NormalModule00