Файловый менеджер - Редактировать - /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::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
| ver. 1.6 |
Github
|
.
| PHP 8.3.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка