ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ???????????????????????????????????? ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ???????????????????????????????????? U:RDoc::AnyMethod[iI"encode_www_form:ETI"URI::encode_www_form;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"9Returns a URL-encoded string derived from the given ;TI"B{Enumerable}[rdoc-ref:Enumerable@Enumerable+in+Ruby+Classes] ;TI" +enum+.;To:RDoc::Markup::BlankLineo; ; [I"1The result is suitable for use as form data ;TI"9for an \HTTP request whose Content-Type is ;TI"2'application/x-www-form-urlencoded'.;T@o; ; [I"=The returned string consists of the elements of +enum+, ;TI"8each converted to one or more URL-encoded strings, ;TI"0and all joined with character '&'.;T@o; ; [I"Simple examples:;T@o:RDoc::Markup::Verbatim; [ I"?URI.encode_www_form([['foo', 0], ['bar', 1], ['baz', 2]]) ;TI"# => "foo=0&bar=1&baz=2" ;TI"3URI.encode_www_form({foo: 0, bar: 1, baz: 2}) ;TI"# => "foo=0&bar=1&baz=2" ;T: @format0o; ; [I"OThe returned string is formed using method URI.encode_www_form_component, ;TI"'which converts certain characters:;T@o; ; [I"=URI.encode_www_form('f#o': '/', 'b-r': '$', 'b z': '@') ;TI"&# => "f%23o=%2F&b-r=%24&b+z=%40" ;T; 0o; ; [I"KWhen +enum+ is Array-like, each element +ele+ is converted to a field:;T@o:RDoc::Markup::List: @type: BULLET: @items[o:RDoc::Markup::ListItem: @label0; [ o; ; [I"3If +ele+ is an array of two or more elements, ;TI"5the field is formed from its first two elements ;TI"/(and any additional elements are ignored):;T@o; ; [I"7name = URI.encode_www_form_component(ele[0], enc) ;TI"8value = URI.encode_www_form_component(ele[1], enc) ;TI""#{name}=#{value}" ;T; 0o; ; [I"Examples:;T@o; ; [ I"9URI.encode_www_form([%w[foo bar], %w[baz bat bah]]) ;TI"# => "foo=bar&baz=bat" ;TI"=URI.encode_www_form([['foo', 0], ['bar', :baz, 'bat']]) ;TI"# => "foo=0&bar=baz" ;T; 0o;;0; [ o; ; [I"*If +ele+ is an array of one element, ;TI".the field is formed from ele[0]:;T@o; ; [I"+URI.encode_www_form_component(ele[0]) ;T; 0o; ; [I" Example:;T@o; ; [I"1URI.encode_www_form([['foo'], [:bar], [0]]) ;TI"# => "foo&bar&0" ;T; 0o;;0; [ o; ; [I".Otherwise the field is formed from +ele+:;T@o; ; [I"(URI.encode_www_form_component(ele) ;T; 0o; ; [I" Example:;T@o; ; [I"+URI.encode_www_form(['foo', :bar, 0]) ;TI"# => "foo&bar&0" ;T; 0o; ; [I"9The elements of an Array-like +enum+ may be mixture:;T@o; ; [I"EURI.encode_www_form([['foo', 0], ['bar', 1, 2], ['baz'], :bat]) ;TI" # => "foo=0&bar=1&baz&bat" ;T; 0o; ; [I"When +enum+ is Hash-like, ;TI"@each +key+/+value+ pair is converted to one or more fields:;T@o;;;;[o;;0; [ o; ; [I"If +value+ is ;TI"W{Array-convertible}[rdoc-ref:implicit_conversion.rdoc@Array-Convertible+Objects], ;TI"Heach element +ele+ in +value+ is paired with +key+ to form a field:;T@o; ; [I"4name = URI.encode_www_form_component(key, enc) ;TI"5value = URI.encode_www_form_component(ele, enc) ;TI""#{name}=#{value}" ;T; 0o; ; [I" Example:;T@o; ; [I"AURI.encode_www_form({foo: [:bar, 1], baz: [:bat, :bam, 2]}) ;TI"0# => "foo=bar&foo=1&baz=bat&baz=bam&baz=2" ;T; 0o;;0; [ o; ; [I"=Otherwise, +key+ and +value+ are paired to form a field:;T@o; ; [I"4name = URI.encode_www_form_component(key, enc) ;TI"7value = URI.encode_www_form_component(value, enc) ;TI""#{name}=#{value}" ;T; 0o; ; [I" Example:;T@o; ; [I"3URI.encode_www_form({foo: 0, bar: 1, baz: 2}) ;TI"# => "foo=0&bar=1&baz=2" ;T; 0o; ; [I"7The elements of a Hash-like +enum+ may be mixture:;T@o; ; [I"0URI.encode_www_form({foo: [0, 1], bar: 2}) ;TI"# => "foo=0&foo=1&bar=2";T; 0: @fileI"lib/uri/common.rb;T:0@omit_headings_from_table_of_contents_below000[I"(enum, enc=nil);T@FI"URI;TcRDoc::NormalModule00