~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Mark Hammond
  • Date: 2008-12-28 05:21:23 UTC
  • mfrom: (3920 +trunk)
  • mto: (3932.1.1 prepare-1.11)
  • mto: This revision was merged to the branch mainline in revision 3937.
  • Revision ID: mhammond@skippinet.com.au-20081228052123-f78xs5sbdkotshwf
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
    def __init__(self, base, _from_transport=None):
45
45
        super(HttpTransport_urllib, self).__init__(
46
 
            base, _from_transport=_from_transport)
 
46
            base, 'urllib', _from_transport=_from_transport)
47
47
        if _from_transport is not None:
48
48
            self._opener = _from_transport._opener
49
49
        else:
90
90
                and code in (301, 302, 303, 307):
91
91
            raise errors.RedirectRequested(request.get_full_url(),
92
92
                                           request.redirected_to,
93
 
                                           is_permanent=(code == 301),
94
 
                                           qual_proto=self._scheme)
 
93
                                           is_permanent=(code == 301))
95
94
 
96
95
        if request.redirected_to is not None:
97
96
            trace.mutter('redirected from: %s to: %s' % (request.get_full_url(),