D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
gems
/
2.6.0
/
doc
/
rack-3.0.8
/
ri
/
Rack
/
URLMap
/
Filename :
cdesc-URLMap.ri
back
Copy
U:RDoc::NormalClass[iI"URLMap:ETI"Rack::URLMap;TI"Object;To:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[I"BRack::URLMap takes a hash mapping urls or paths to apps, and ;TI"Hdispatches accordingly. Support for HTTP/1.1 host names exists if ;TI"?the URLs start with <tt>http://</tt> or <tt>https://</tt>.;To:RDoc::Markup::BlankLine o; ;[ I"FURLMap modifies the SCRIPT_NAME and PATH_INFO such that the part ;TI"Frelevant for dispatch is in the SCRIPT_NAME, and the rest in the ;TI"?PATH_INFO. This should be taken care of when you need to ;TI"2reconstruct the URL in order to create links.;T@o; ;[I"FURLMap dispatches in such a way that the longest paths are tried ;TI")first, since they are most specific.;T: @fileI"lib/rack/urlmap.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I" class;T[[:public[[I"new;TI"lib/rack/urlmap.rb;T[:protected[ [:private[ [I" instance;T[[; [[I" call;T@*[I" remap;T@*[;[ [;[[I" casecmp?;T@*[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@I" Rack;TcRDoc::NormalModule