D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
gems
/
2.6.0
/
doc
/
rack-3.0.8
/
ri
/
Rack
/
Files
/
Filename :
cdesc-Files.ri
back
Copy
U:RDoc::NormalClass[iI" Files:ETI"Rack::Files;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[ I"QRack::Files serves files below the +root+ directory given, according to the ;TI"$path info of the Rack request. ;TI"Me.g. when Rack::Files.new("/etc") is used, you can access 'passwd' file ;TI"$as http://localhost:9292/passwd;To:RDoc::Markup::BlankLine o; ;[I"IHandlers can detect if bodies are a Rack::Files, and use mechanisms ;TI"!like sendfile on the +path+.;T: @fileI"lib/rack/files.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[ I" root;TI"R;T:publicFI"lib/rack/files.rb;T[U:RDoc::Constant[i I"ALLOWED_VERBS;TI"Rack::Files::ALLOWED_VERBS;T; 0o;;[ ;@;0@@cRDoc::NormalClass0U;[i I"ALLOW_HEADER;TI"Rack::Files::ALLOW_HEADER;T; 0o;;[ ;@;0@@@&0U;[i I"MULTIPART_BOUNDARY;TI"$Rack::Files::MULTIPART_BOUNDARY;T; 0o;;[ ;@;0@@@&0[ [[I" class;T[[; [[I"new;T@[:protected[ [:private[ [I" instance;T[[; [[I" call;T@[I"get;T@[I"serving;T@[;[ [;[[I" fail;T@[I" filesize;T@[I"mime_type;T@[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@I"lib/rack/utils.rb;TI" Rack;TcRDoc::NormalModule