Sha256: b8321ef418a0ef3e2d7984e0a27eea04de5879d10362c45b126ce5a5df27a8a3
Contents?: true
Size: 1.8 KB
Versions: 1
Compression:
Stored size: 1.8 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 (CatalogServlet)</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 274</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">/^\/catalog/</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">make_catalog</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.2.1 | doc/classes/CatalogServlet.src/M000027.html |