~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import bzrlib  # for the version
20
20
from bzrlib.errors import BzrError
21
21
from bzrlib.trace import mutter
 
22
from bzrlib.transport import register_urlparse_netloc_protocol
22
23
from bzrlib.transport.http import HttpTransportBase, extract_auth, HttpServer
23
24
from bzrlib.errors import (TransportNotPossible, NoSuchFile,
24
25
                           TransportError, ConnectionError)
25
26
 
26
27
 
 
28
register_urlparse_netloc_protocol('http+urllib')
 
29
 
 
30
 
27
31
class Request(urllib2.Request):
28
32
    """Request object for urllib2 that allows the method to be overridden."""
29
33