PATH: //opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Utils
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📁 Context/
X
📁 HeaderHash/
X
📄 add_cookie_to_header-i.ri
↓
X
📄 add_remove_cookie_to_header-i.ri
↓
X
📄 best_q_match-i.ri
↓
X
📄 build_nested_query-i.ri
↓
X
📄 build_query-i.ri
↓
X
📄 byte_ranges-i.ri
↓
X
📄 cdesc-Utils.ri
↓
X
📄 clean_path_info-i.ri
↓
X
📄 clock_time-i.ri
↓
X
📄 default_query_parser-c.ri
↓
X
📄 delete_cookie_header%21-i.ri
↓
X
📄 delete_set_cookie_header%21-i.ri
↓
X
📄 delete_set_cookie_header-i.ri
↓
X
📄 escape-i.ri
↓
X
📄 escape_html-i.ri
↓
X
📄 escape_path-i.ri
↓
X
📄 forwarded_values-c.ri
↓
X
📄 forwarded_values-i.ri
↓
X
📄 get_byte_ranges-i.ri
↓
X
📄 key_space_limit%3d-c.ri
↓
X
📄 key_space_limit-c.ri
↓
X
📄 make_delete_cookie_header-i.ri
↓
X
📄 multipart_file_limit-c.ri
↓
X
📄 multipart_part_limit%3d-c.ri
↓
X
📄 multipart_part_limit-c.ri
↓
X
📄 multipart_total_part_limit-c.ri
↓
X
📄 param_depth_limit%3d-c.ri
↓
X
📄 param_depth_limit-c.ri
↓
X
📄 parse_cookies-i.ri
↓
X
📄 parse_cookies_header-i.ri
↓
X
📄 parse_nested_query-i.ri
↓
X
📄 parse_query-i.ri
↓
X
📄 q_values-i.ri
↓
X
📄 rfc2822-i.ri
↓
X
📄 secure_compare-i.ri
↓
X
📄 select_best_encoding-i.ri
↓
X
📄 set_cookie_header%21-i.ri
↓
X
📄 set_cookie_header-i.ri
↓
X
📄 status_code-i.ri
↓
X
📄 unescape-i.ri
↓
X
📄 unescape_path-i.ri
↓
X
📄 valid_path%3f-i.ri
↓
X
SAVING...
BERHASIL DIUBAH!
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
SIMPAN PERUBAHAN