REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.05 KB
Close
/proc/thread-self/root/opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Mime/cdesc-Mime.ri
Text
Base64
U:RDoc::NormalModule[iI" Mime:EFI"Rack::Mime;F0o:RDoc::Markup::Document:@parts[ : @file0[ [[I"MIME_TYPES;Fo;;[o:RDoc::Markup::Paragraph;[I"=List of most common mime-types, selected various sources;FI"Aaccording to their usefulness in a webserving scope for Ruby;FI"users.;Fo:RDoc::Markup::BlankLine o; ;[I"DTo amend this list with your local mime.types list you can use:;F@o:RDoc::Markup::Verbatim;[I"!require 'webrick/httputils' ;FI"Blist = WEBrick::HTTPUtils.load_mime_types('/etc/mime.types') ;FI")Rack::Mime::MIME_TYPES.merge!(list) ;Fo; ;[I"ON.B. On Ubuntu the mime.types file does not include the leading period, so;FI"Dusers may need to modify the data before merging into the hash.;F@o; ;[I"+To add the list mongrel provides, use:;F@o;;[I" require 'mongrel/handlers' ;FI"CRack::Mime::MIME_TYPES.merge!(Mongrel::DirHandler::MIME_TYPES);F; 0I"lib/rack/mime.rb;F[ [[I" class;F[[:public[[I"match?;F@*[I"mime_type;F@*[:protected[ [:private[ [I" instance;F[[; [ [;[ [;[
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
cdesc-Mime.ri
1.05 KB
lrw-r--r--
2019-12-05 22:59:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
match%3f-c.ri
545 B
lrw-r--r--
2019-12-05 22:59:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
mime_type-c.ri
743 B
lrw-r--r--
2019-12-05 22:59:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).