class documentation

class WrappedRequest:

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​_origin​_req​_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):

Undocumented

def add_unredirected_header(self, name, value):

Undocumented

def get_full_url(self):

Undocumented

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

Undocumented

def get_host(self):

Undocumented

def get_origin_req_host(self):

Undocumented

def get_type(self):

Undocumented

def has_header(self, name):

Undocumented

def header_items(self):

Undocumented

def is_unverifiable(self):

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.

request =

Undocumented

@property
full_url =

Undocumented

@property
host =

Undocumented

@property
origin_req_host =

Undocumented

@property
type =

Undocumented

@property
unverifiable =

Undocumented