/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/HttpServer.py

  • Committer: John Arbash Meinel
  • Date: 2007-11-30 22:40:29 UTC
  • mfrom: (3060.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 3063.
  • Revision ID: john@arbash-meinel.com-20071130224029-bpqrx0fjkify8w8p
Merge in bzr.dev and updated NEWS for post 1.0rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
 
150
150
        Handles the Range header.
151
151
        """
 
152
        # Update statistics
 
153
        self.server.test_case_server.GET_request_nb += 1
152
154
 
153
155
        path = self.translate_path(self.path)
154
156
        ranges_header_value = self.headers.get('Range')
304
306
        self.host = 'localhost'
305
307
        self.port = 0
306
308
        self._httpd = None
 
309
        # Allows tests to verify number of GET requests issued
 
310
        self.GET_request_nb = 0
307
311
 
308
312
    def _get_httpd(self):
309
313
        if self._httpd is None: