관리-도구
편집 파일: cdesc-ConditionalGet.ri
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