class documentation

class WrappedRequest: (source)

View In Hierarchy

Wraps a scrapy Request class with methods defined by urllib2.Request class to interact with CookieJar class see http://docs.python.org/library/urllib2.html#urllib2.Request

Method __init__ Undocumented
Method add_unredirected_header Undocumented
Method get_full_url Undocumented
Method get_header Undocumented
Method get_host Undocumented
Method get_type Undocumented
Method has_header Undocumented
Method header_items Undocumented
Method is_unverifiable Unverifiable should indicate whether the request is unverifiable, as defined by RFC 2965.
Instance Variable request Undocumented
Property full_url Undocumented
Property host Undocumented
Property origin_req_host Undocumented
Property type Undocumented
Property unverifiable Undocumented
def __init__(self, request): (source)

Undocumented

def add_unredirected_header(self, name, value): (source)

Undocumented

def get_full_url(self): (source)

Undocumented

def get_header(self, name, default=None): (source)

Undocumented

def get_host(self): (source)

Undocumented

def get_type(self): (source)

Undocumented

def has_header(self, name): (source)

Undocumented

def header_items(self): (source)

Undocumented

def is_unverifiable(self): (source)

Unverifiable should indicate whether the request is unverifiable, as defined by RFC 2965. It defaults to False. An unverifiable request is one whose URL the user did not have the option to approve. For example, if the request is for an image in an HTML document, and the user had no option to approve the automatic fetching of the image, this should be true.

Undocumented

Undocumented

Undocumented

@property
origin_req_host = (source)

Undocumented

Undocumented

@property
unverifiable = (source)

Undocumented