~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-27 06:47:50 UTC
  • mfrom: (4294.2.12 push.roundtrips)
  • Revision ID: pqm@pqm.ubuntu.com-20090427064750-e9obd6h83omt86ps
(robertc) Reduce roundtrips needed to push a new branch by coalescing
        many steps of the initialisation process. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
917
917
 
918
918
        (scheme, user, password,
919
919
         host, port, path) = transport.ConnectedTransport._split_url(proxy)
 
920
        if not host:
 
921
            raise errors.InvalidURL(proxy, 'No host component')
920
922
 
921
923
        if request.proxy_auth == {}:
922
924
            # No proxy auth parameter are available, we are handling the first