PATH:
opt
/
cpanel
/
ea-ruby27
/
root
/
usr
/
share
/
gems
/
doc
/
rack-2.2.23
/
ri
/
Rack
/
Utils
U:RDoc::AnyMethod[iI"select_best_encoding:ETI"%Rack::Utils#select_best_encoding;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"CGiven an array of available encoding strings, and an array of ;TI"Cacceptable encodings for a request, where each element of the ;TI"Dacceptable encodings array is an array where the first element ;TI"?is an encoding name and the second element is the numeric ;TI"Cpriority for the encoding, return the available encoding with ;TI"the highest priority.;To:RDoc::Markup::BlankLine o; ; [I"DThe accept_encoding argument is typically generated by calling ;TI"Request#accept_encoding.;T@o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [I"6select_best_encoding(%w(compress gzip identity), ;TI"> [["compress", 0.5], ["gzip", 1.0]]) ;TI"# => "gzip" ;T:@format0o; ; [I">To reduce denial of service potential, only the first 16 ;TI")acceptable encodings are considered.;T: @fileI"lib/rack/utils.rb;T:0@omit_headings_from_table_of_contents_below000[ I"+(available_encodings, accept_encoding);T@$FI" Utils;TcRDoc::NormalModule00
[-] escape_html-i.ri
[edit]
[-] parse_cookies_header-i.ri
[edit]
[-] make_delete_cookie_header-i.ri
[edit]
[-] escape_path-i.ri
[edit]
[-] key_space_limit-c.ri
[edit]
[+]
HeaderHash
[-] parse_nested_query-i.ri
[edit]
[+]
Context
[-] escape-i.ri
[edit]
[-] rfc2109-i.ri
[edit]
[-] delete_cookie_header%21-i.ri
[edit]
[-] clock_time-i.ri
[edit]
[-] default_query_parser-c.ri
[edit]
[-] rfc2822-i.ri
[edit]
[-] select_best_encoding-i.ri
[edit]
[-] build_query-i.ri
[edit]
[-] parse_query-i.ri
[edit]
[-] unescape_path-i.ri
[edit]
[-] get_byte_ranges-i.ri
[edit]
[+]
..
[-] build_nested_query-i.ri
[edit]
[-] clean_path_info-i.ri
[edit]
[-] multipart_part_limit-c.ri
[edit]
[-] key_space_limit%3d-c.ri
[edit]
[-] q_values-i.ri
[edit]
[-] secure_compare-i.ri
[edit]
[-] unescape-i.ri
[edit]
[-] cdesc-Utils.ri
[edit]
[-] valid_path%3f-i.ri
[edit]
[-] byte_ranges-i.ri
[edit]
[-] parse_cookies-i.ri
[edit]
[-] add_cookie_to_header-i.ri
[edit]
[-] param_depth_limit%3d-c.ri
[edit]
[-] status_code-i.ri
[edit]
[-] multipart_file_limit-c.ri
[edit]
[-] set_cookie_header%21-i.ri
[edit]
[-] best_q_match-i.ri
[edit]
[-] multipart_part_limit%3d-c.ri
[edit]
[-] add_remove_cookie_to_header-i.ri
[edit]
[-] param_depth_limit-c.ri
[edit]
[-] multipart_total_part_limit-c.ri
[edit]