doc/rdoc/classes/Mongrel/HttpResponse.src/M000081.html in mongrel-0.3.12.4 vs doc/rdoc/classes/Mongrel/HttpResponse.src/M000081.html in mongrel-0.3.13
- old
+ new
@@ -3,16 +3,20 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>write (Mongrel::HttpResponse)</title>
+ <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 327</span>
-327: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write</span>(<span class="ruby-identifier">data</span>)
-328: <span class="ruby-ivar">@socket</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">data</span>)
-329: <span class="ruby-keyword kw">end</span></pre>
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel.rb, line 388</span>
+388: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_body</span>
+389: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-ivar">@body_sent</span>
+390: <span class="ruby-ivar">@body</span>.<span class="ruby-identifier">rewind</span>
+391: <span class="ruby-identifier">write</span>(<span class="ruby-ivar">@body</span>.<span class="ruby-identifier">read</span>)
+392: <span class="ruby-ivar">@body_sent</span> = <span class="ruby-keyword kw">true</span>
+393: <span class="ruby-keyword kw">end</span>
+394: <span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file