OwlCyberSecurity - MANAGER
Edit File: cdesc-ConditionalGet.ri
U:RDoc::NormalClass[iI"ConditionalGet:EFI"Rack::ConditionalGet;FI"Object;Fo:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[ I"DMiddleware that enables conditional GET using If-None-Match and;FI"HIf-Modified-Since. The application should set either or both of the;FI"GLast-Modified or Etag response headers according to RFC 2616. When;FI"Ieither of the conditions is met, the response body is set to be zero;FI"?length and the response status is set to 304 Not Modified.;Fo:RDoc::Markup::BlankLine o; ;[I"KApplications that defer response body generation until the body's each;FI"Lmessage is received will avoid response body generation completely when;FI"a conditional GET matches.;F@o; ;[I"8Adapted from Michael Klishin's Merb implementation:;FI"jhttps://github.com/wycats/merb/blob/master/merb-core/lib/merb-core/rack/middleware/conditional_get.rb;F: @fileI"lib/rack/conditionalget.rb;F;0[ [ [ [[I" class;F[[:public[[I"new;F@[:protected[ [:private[ [I" instance;F[[;[[I" call;F@[; [ [;[