X7ROOT File Manager
Current Path:
/opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Utils
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
gems
/
2.6.0
/
doc
/
rack-3.0.8
/
ri
/
Rack
/
Utils
/
ðŸ“
..
ðŸ“
Context
ðŸ“
HeaderHash
📄
add_cookie_to_header-i.ri
(281 B)
📄
add_remove_cookie_to_header-i.ri
(300 B)
📄
best_q_match-i.ri
(517 B)
📄
build_nested_query-i.ri
(278 B)
📄
build_query-i.ri
(251 B)
📄
byte_ranges-i.ri
(502 B)
📄
cdesc-Utils.ri
(3.27 KB)
📄
clean_path_info-i.ri
(262 B)
📄
clock_time-i.ri
(243 B)
📄
default_query_parser-c.ri
(259 B)
📄
delete_cookie_header%21-i.ri
(289 B)
📄
delete_set_cookie_header%21-i.ri
(1.09 KB)
📄
delete_set_cookie_header-i.ri
(1.04 KB)
📄
escape-i.ri
(309 B)
📄
escape_html-i.ri
(355 B)
📄
escape_path-i.ri
(381 B)
📄
forwarded_values-c.ri
(272 B)
📄
forwarded_values-i.ri
(272 B)
📄
get_byte_ranges-i.ri
(269 B)
📄
key_space_limit%3d-c.ri
(257 B)
📄
key_space_limit-c.ri
(254 B)
📄
make_delete_cookie_header-i.ri
(291 B)
📄
multipart_file_limit-c.ri
(259 B)
📄
multipart_part_limit%3d-c.ri
(261 B)
📄
multipart_part_limit-c.ri
(259 B)
📄
multipart_total_part_limit-c.ri
(271 B)
📄
param_depth_limit%3d-c.ri
(261 B)
📄
param_depth_limit-c.ri
(258 B)
📄
parse_cookies-i.ri
(618 B)
📄
parse_cookies_header-i.ri
(708 B)
📄
parse_nested_query-i.ri
(270 B)
📄
parse_query-i.ri
(268 B)
📄
q_values-i.ri
(253 B)
📄
rfc2822-i.ri
(241 B)
📄
secure_compare-i.ri
(613 B)
📄
select_best_encoding-i.ri
(299 B)
📄
set_cookie_header%21-i.ri
(658 B)
📄
set_cookie_header-i.ri
(1.43 KB)
📄
status_code-i.ri
(251 B)
📄
unescape-i.ri
(448 B)
📄
unescape_path-i.ri
(415 B)
📄
valid_path%3f-i.ri
(249 B)
Editing: set_cookie_header-i.ri
U:RDoc::AnyMethod[iI"set_cookie_header:ETI""Rack::Utils#set_cookie_header;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"NGenerate an encoded string using the provided +key+ and +value+ suitable ;TI"Mfor the +set-cookie+ header according to RFC6265. The +value+ may be an ;TI"+instance of either +String+ or +Hash+.;To:RDoc::Markup::BlankLine o; ; [ I"PIf the cookie +value+ is an instance of +Hash+, it considers the following ;TI"Mcookie attribute keys: +domain+, +max_age+, +expires+ (must be instance ;TI"Jof +Time+), +secure+, +http_only+, +same_site+ and +value+. For more ;TI"?details about the interpretation of these fields, consult ;TI"V[RFC6265 Section 5.2](https://datatracker.ietf.org/doc/html/rfc6265#section-5.2).;T@o; ; [I"OAn extra cookie attribute +escape_key+ can be provided to control whether ;TI"Mor not the cookie key is URL encoded. If explicitly set to +false+, the ;TI"Ncookie key name will not be url encoded (escaped). The default is +true+.;T@o:RDoc::Markup::Verbatim; [ I",set_cookie_header("myname", "myvalue") ;TI"# => "myname=myvalue" ;TI" ;TI"Bset_cookie_header("myname", {value: "myvalue", max_age: 10}) ;TI"&# => "myname=myvalue; max-age=10";T:@format0: @fileI"lib/rack/utils.rb;T:0@omit_headings_from_table_of_contents_below0I"5set_cookie_header(key, value) -> encoded string ;T0[ I"(key, value);T@$FI" Utils;TcRDoc::NormalModule00
Upload File
Create Folder