Sha256: 60f6458d94a13ea74b3eeeec1934c760aff1367822ca5e55609b007938c8af4e
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 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>send_status (Mongrel::HttpResponse)</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.rb, line 284</span> 284: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_status</span> 285: <span class="ruby-identifier">status</span> = <span class="ruby-node">"HTTP/1.1 #{@status} #{HTTP_STATUS_CODES[@status]}\r\nContent-Length: #{@body.length}\r\nConnection: close\r\n"</span> 286: <span class="ruby-ivar">@socket</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">status</span>) 287: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongrel-0.3.10.1 | doc/rdoc/classes/Mongrel/HttpResponse.src/M000047.html |
mongrel-0.3.10 | doc/rdoc/classes/Mongrel/HttpResponse.src/M000047.html |