MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //opt/cpanel/ea-ruby27/root/usr/share/gems/doc/rack-2.2.23/ri/Rack/Utils/select_best_encoding-i.ri
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::BlankLineo;
;	[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