~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/__init__.py

  • Committer: Andrew Bennetts
  • Date: 2008-05-08 06:29:07 UTC
  • mto: This revision was merged to the branch mainline in revision 3428.
  • Revision ID: andrew.bennetts@canonical.com-20080508062907-gk5ycaa6wm6qrggq
Don't automatically send 'hello' requests from RemoteBzrDirFormat.probe_transport unless we have to (i.e. the transport is HTTP).

Show diffs side-by-side

added added

removed removed

Lines of Context:
524
524
            raise errors.SmartProtocolError(str(e))
525
525
        return body_filelike
526
526
 
 
527
    def should_probe(self):
 
528
        return True
 
529
 
527
530
 
528
531
class SmartClientHTTPMediumRequest(medium.SmartClientMediumRequest):
529
532
    """A SmartClientMediumRequest that works with an HTTP medium."""