Sha256: 387b2d956ab2ee9a020f9754b5b23d6dbd1e5ec1fce214756fa0109e2e217242
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 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_body (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 423</span> 423: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_body</span> 424: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-ivar">@body_sent</span> 425: <span class="ruby-ivar">@body</span>.<span class="ruby-identifier">rewind</span> 426: <span class="ruby-identifier">write</span>(<span class="ruby-ivar">@body</span>.<span class="ruby-identifier">read</span>) 427: <span class="ruby-ivar">@body_sent</span> = <span class="ruby-keyword kw">true</span> 428: <span class="ruby-keyword kw">end</span> 429: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongrel-0.3.13.4 | doc/rdoc/classes/Mongrel/HttpResponse.src/M000078.html |