관리-도구
편집 파일: 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/conditionalget.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I" class;T[[:public[[I"new;TI"lib/rack/conditionalget.rb;T[:protected[ [:private[ [I" instance;T[[; [[I" call;F@+[;[ [;[ [I"etag_matches?;F@+[I"fresh?;F@+[I"modified_since?;F@+[I"to_rfc2822;F@+[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@I" Rack;FcRDoc::NormalModule