Sha256: b80da9942e39012cda4717b33412076baf52c973eeb8281c9dfb35d10b1973d1

Contents?: true

Size: 1.54 KB

Versions: 3

Compression:

Stored size: 1.54 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>status (Mongrel::CGIWrapper)</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 lib/mongrel/cgi.rb, line 148</span>
148:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">status</span>
149:       <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-ivar">@status</span>
150:         <span class="ruby-identifier">stat</span> = <span class="ruby-ivar">@head</span>[<span class="ruby-value str">&quot;Status&quot;</span>]
151:         <span class="ruby-identifier">stat</span> = <span class="ruby-identifier">stat</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">' '</span>)[<span class="ruby-value">0</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">stat</span>
152: 
153:         <span class="ruby-ivar">@status</span> = <span class="ruby-identifier">stat</span> <span class="ruby-operator">||</span> <span class="ruby-value str">&quot;200&quot;</span>
154:       <span class="ruby-keyword kw">end</span>
155: 
156:       <span class="ruby-ivar">@status</span>
157:     <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongrel-0.3.13.4 doc/rdoc/classes/Mongrel/CGIWrapper.src/M000116.html
mongrel-1.0.1 doc/rdoc/classes/Mongrel/CGIWrapper.src/M000119.html
mongrel-1.0 doc/rdoc/classes/Mongrel/CGIWrapper.src/M000119.html