'Create a fake Urllib2 request.
@param uri: Request URI.
@type uri: L{bytes}'

def __init__(self, uri):

    self.uri = nativeString(uri)
    self.headers = Headers()
    _uri = URI.fromBytes(uri)
    self.type = nativeString(_uri.scheme)
    self.host = nativeString(_uri.host)
    if ((_uri.scheme, _uri.port) not in (('http', 80), ('https', 443))):
        self.host += (':' + str(_uri.port))
    if _PY3:
        self.origin_req_host = nativeString(_uri.host)
        self.unverifiable = (lambda _: False)
