PATH:
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
gems
/
2.6.0
/
doc
/
rack-3.0.8
/
ri
/
Rack
/
ConditionalGet
U:RDoc::NormalClass[iI"ConditionalGet:ETI"Rack::ConditionalGet;TI"Object;To:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[ I"EMiddleware that enables conditional GET using if-none-match and ;TI"Iif-modified-since. The application should set either or both of the ;TI"Hlast-modified or etag response headers according to RFC 2616. When ;TI"Jeither of the conditions is met, the response body is set to be zero ;TI"?length and the response status is set to 304 Not Modified.;To:RDoc::Markup::BlankLine o; ;[I"LApplications that defer response body generation until the body's each ;TI"Mmessage is received will avoid response body generation completely when ;TI"a conditional GET matches.;T@o; ;[I"9Adapted from Michael Klishin's Merb implementation: ;TI"jhttps://github.com/wycats/merb/blob/master/merb-core/lib/merb-core/rack/middleware/conditional_get.rb;T: @fileI" lib/rack/conditional_get.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I" class;T[[:public[[I"new;TI" lib/rack/conditional_get.rb;T[:protected[ [:private[ [I" instance;T[[; [[I" call;T@+[;[ [;[ [I"etag_matches?;T@+[I"fresh?;T@+[I"modified_since?;T@+[I"to_rfc2822;T@+[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@I" Rack;TcRDoc::NormalModule
[-] call-i.ri
[edit]
[-] etag_matches%3f-i.ri
[edit]
[-] fresh%3f-i.ri
[edit]
[-] modified_since%3f-i.ri
[edit]
[+]
..
[-] to_rfc2822-i.ri
[edit]
[-] cdesc-ConditionalGet.ri
[edit]
[-] new-c.ri
[edit]