<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -131,9 +131,6 @@ class HttpServerConnection(HttpMessageParser, HttpMessageSerialiser):
         self.connection_hdr = []
         self._res_body_pause_cb = None
 
-    def output(self, chunk):
-        self._tcp_conn.write(chunk)
-
     def res_start(self, status_code, status_phrase, res_hdrs, res_body_pause):
         &quot;Start a response. Must only be called once per response.&quot;
         self._res_body_pause_cb = res_body_pause
@@ -164,8 +161,8 @@ class HttpServerConnection(HttpMessageParser, HttpMessageSerialiser):
     def res_done(self, err):
         &quot;&quot;&quot;
         Signal the end of the response, whether or not there was a body. MUST be
-        called exactly once for each response. 
-        
+        called exactly once for each response.
+
         If err is not None, it is an error dictionary (see the error module)
         indicating that an HTTP-specific (i.e., non-application) error occured
         in the generation of the response; this is useful for debugging.
@@ -191,10 +188,13 @@ class HttpServerConnection(HttpMessageParser, HttpMessageSerialiser):
 #        self.pause()
 #        self._queue = []
 #        self.tcp_conn.handler = None
-#        self.tcp_conn = None                    
+#        self.tcp_conn = None
 
     # Methods called by common.HttpRequestParser
 
+    def output(self, chunk):
+        self._tcp_conn.write(chunk)
+
     def _input_start(self, top_line, hdr_tuples, conn_tokens, transfer_codes, content_length):
         &quot;&quot;&quot;
         Take the top set of headers from the input stream, parse them</diff>
      <filename>src/server.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>019cc9a99586a1b0a3c06e3cf4a62cf7d3ebbbba</id>
    </parent>
  </parents>
  <author>
    <name>Mark Nottingham</name>
    <email>mnot@mnot.net</email>
  </author>
  <url>http://github.com/mnot/nbhttp/commit/1d09b43eba89739c942338a00f634b7a917517f2</url>
  <id>1d09b43eba89739c942338a00f634b7a917517f2</id>
  <committed-date>2009-10-23T15:07:22-07:00</committed-date>
  <authored-date>2009-10-23T15:07:22-07:00</authored-date>
  <message>rearrange output</message>
  <tree>7cda37328cc8472399abd1ef8a51d6766bad89c1</tree>
  <committer>
    <name>Mark Nottingham</name>
    <email>mnot@mnot.net</email>
  </committer>
</commit>
