~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/http_server.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-23 17:00:36 UTC
  • mfrom: (4032.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090223170036-3q1v68ewdt8i0to5
(Marius Kruger) Remove all trailing whitespace and add tests to
        enforce this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
            # common)
138
138
            self.send_response(301)
139
139
            self.send_header("Location", self.path + "/")
140
 
            # Indicates that the body is empty for HTTP/1.1 clients 
 
140
            # Indicates that the body is empty for HTTP/1.1 clients
141
141
            self.send_header('Content-Length', '0')
142
142
            self.end_headers()
143
143
            return None
320
320
 
321
321
    def tearDown(self):
322
322
         """Called to clean-up the server.
323
 
 
 
323
 
324
324
         Since the server may be (surely is, even) in a blocking listen, we
325
325
         shutdown its socket before closing it.
326
326
         """
503
503
 
504
504
    def setUp(self, backing_transport_server=None):
505
505
        """See bzrlib.transport.Server.setUp.
506
 
        
 
506
 
507
507
        :param backing_transport_server: The transport that requests over this
508
508
            protocol should be forwarded to. Note that this is currently not
509
509
            supported for HTTP.