Current Path : /usr/local/share/ri/1.8/system/Net/HTTPHeader/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Net/HTTPHeader/get_fields-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "[Ruby 1.8.3] Returns an array of header field strings corresponding to the case-insensitive <tt>key</tt>. This method allows you to get duplicated header fields without any processing. See also #[]." - !ruby/struct:SM::Flow::VERB body: " p response.get_fields('Set-Cookie')\n #=> ["session=al98axx; expires=Fri, 31-Dec-1999 23:58:23",\n "query=rubyscript; expires=Fri, 31-Dec-1999 23:58:23"]\n p response['Set-Cookie']\n #=> "session=al98axx; expires=Fri, 31-Dec-1999 23:58:23, query=rubyscript; expires=Fri, 31-Dec-1999 23:58:23"\n" full_name: Net::HTTPHeader#get_fields is_singleton: false name: get_fields params: (key) visibility: public