D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby19
/
lib64
/
ruby
/
gems
/
1.9.1
/
doc
/
rack-1.6.4
/
ri
/
Rack
/
ETag
/
Filename :
cdesc-ETag.ri
back
Copy
U:RDoc::NormalClass[iI" ETag:EFI"Rack::ETag;FI"Object;Fo:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[I"=Automatically sets the ETag header on all String bodies.;Fo:RDoc::Markup::BlankLine o; ;[I"OThe ETag header is skipped if ETag or Last-Modified headers are sent or if;FI"Ka sendfile body (body.responds_to :to_path) is given (since such cases;FI"(should be handled by apache/nginx).;F@o; ;[I"NOn initialization, you can pass two parameters: a Cache-Control directive;FI"Kused when Etag is absent and a directive when it is present. The first;FI"Xdefaults to nil, while the second defaults to "max-age=0, private, must-revalidate";F: @fileI"lib/rack/etag.rb;F;0[ [[I"ETAG_STRING;Fo;;[ ;0@[I"DEFAULT_CACHE_CONTROL;Fo;;[ ;0@[ [[I" class;F[[:public[[I"new;F@[:protected[ [:private[ [I" instance;F[[;[[I" call;F@[; [ [;[