Sha256: 6585621e01ebd5dfffdc3e921a11d4d987b860cb93ddc9d3500d85189bc5bf2c

Contents?: true

Size: 1.8 KB

Versions: 2

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 218</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">&quot;&quot;</span>)
                <span class="ruby-identifier">res</span>[<span class="ruby-value str">'Content-Type'</span>]=<span class="ruby-value str">&quot;text/html&quot;</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

2 entries across 1 versions & 1 rubygems

Version Path
dsktool-0.2.1 doc/classes/CatalogServlet.src/M000021.html
dsktool-0.2.1 doc/classes/CatalogServlet.src/M000024.html