Sha256: db2fd641b61a879844297b3cfe56303be4cea3410a90df7d24d1a0effc46d738
Contents?: true
Size: 1.67 KB
Versions: 1
Compression:
Stored size: 1.67 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>do_GET (DirectoryServlet)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File bin/dskexplorer.rb, line 204</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">do_GET</span>(<span class="ruby-identifier">req</span>,<span class="ruby-identifier">res</span>) <span class="ruby-identifier">relative_path</span>=<span class="ruby-constant">URI</span>.<span class="ruby-identifier">unescape</span>(<span class="ruby-identifier">req</span>.<span class="ruby-identifier">path</span>).<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">/^\/dir/</span>,<span class="ruby-value str">""</span>) <span class="ruby-identifier">res</span>[<span class="ruby-value str">'Content-Type'</span>]=<span class="ruby-value str">"text/html"</span> <span class="ruby-identifier">res</span>.<span class="ruby-identifier">body</span>=<span class="ruby-identifier">common_header</span><span class="ruby-operator">+</span><span class="ruby-identifier">make_navigation_path</span>(<span class="ruby-identifier">relative_path</span>)<span class="ruby-operator">+</span><span class="ruby-identifier">common_footer</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dsktool-0.1.5 | doc/classes/DirectoryServlet.src/M000023.html |