HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.  2.0.0-chaika
Hierarchical Cluster Engine Python language binding
dc_crawler.Fetcher.Response Class Reference
Inheritance diagram for dc_crawler.Fetcher.Response:
Collaboration diagram for dc_crawler.Fetcher.Response:

Public Member Functions

def __init__ (self)
 

Public Attributes

 url
 
 status_code
 
 redirects
 
 unicode_content
 
 str_content
 
 rendered_unicode_content
 
 content_size
 
 encoding
 
 headers
 
 meta_res
 
 cookies
 
 dynamic_fetcher_type
 
 dynamic_fetcher_result_type
 
 error_mask
 
 request
 
 time
 
 error_msg
 

Detailed Description

Definition at line 1610 of file Fetcher.py.

Constructor & Destructor Documentation

◆ __init__()

def dc_crawler.Fetcher.Response.__init__ (   self)

Definition at line 1611 of file Fetcher.py.

1611  def __init__(self):
1612  # final url
1613  self.url = None
1614  # http status code
1615  self.status_code = 0
1616  # redirect lists
1617  self.redirects = None
1618  # unicode content
1619  self.unicode_content = None
1620  # str content
1621  self.str_content = None
1622  # rendered(by command line browser) unicode content
1623  self.rendered_unicode_content = None
1624  # http response content size
1625  self.content_size = None
1626  # content encoding
1627  self.encoding = None
1628  # headers
1629  self.headers = None
1630  # meta resource
1631  self.meta_res = None
1632  # cookies
1633  self.cookies = None
1634  # dynamic fetcher type
1635  self.dynamic_fetcher_type = None
1636  # dynamic fetcher result type, see the macro definition specification
1637  self.dynamic_fetcher_result_type = None
1638  # error mask from fetcher
1639  self.error_mask = APP_CONSTS.ERROR_OK
1640  # request
1641  self.request = None
1642  # execution time
1643  self.time = 0
1644  self.error_msg = ''
1645 
1646 
1647 
1648 # #The Response class
1649 # represents an web page response
def __init__(self)
constructor
Definition: UIDGenerator.py:19

Member Data Documentation

◆ content_size

dc_crawler.Fetcher.Response.content_size

Definition at line 1625 of file Fetcher.py.

◆ cookies

dc_crawler.Fetcher.Response.cookies

Definition at line 1633 of file Fetcher.py.

◆ dynamic_fetcher_result_type

dc_crawler.Fetcher.Response.dynamic_fetcher_result_type

Definition at line 1637 of file Fetcher.py.

◆ dynamic_fetcher_type

dc_crawler.Fetcher.Response.dynamic_fetcher_type

Definition at line 1635 of file Fetcher.py.

◆ encoding

dc_crawler.Fetcher.Response.encoding

Definition at line 1627 of file Fetcher.py.

◆ error_mask

dc_crawler.Fetcher.Response.error_mask

Definition at line 1639 of file Fetcher.py.

◆ error_msg

dc_crawler.Fetcher.Response.error_msg

Definition at line 1644 of file Fetcher.py.

◆ headers

dc_crawler.Fetcher.Response.headers

Definition at line 1629 of file Fetcher.py.

◆ meta_res

dc_crawler.Fetcher.Response.meta_res

Definition at line 1631 of file Fetcher.py.

◆ redirects

dc_crawler.Fetcher.Response.redirects

Definition at line 1617 of file Fetcher.py.

◆ rendered_unicode_content

dc_crawler.Fetcher.Response.rendered_unicode_content

Definition at line 1623 of file Fetcher.py.

◆ request

dc_crawler.Fetcher.Response.request

Definition at line 1641 of file Fetcher.py.

◆ status_code

dc_crawler.Fetcher.Response.status_code

Definition at line 1615 of file Fetcher.py.

◆ str_content

dc_crawler.Fetcher.Response.str_content

Definition at line 1621 of file Fetcher.py.

◆ time

dc_crawler.Fetcher.Response.time

Definition at line 1643 of file Fetcher.py.

◆ unicode_content

dc_crawler.Fetcher.Response.unicode_content

Definition at line 1619 of file Fetcher.py.

◆ url

dc_crawler.Fetcher.Response.url

Definition at line 1613 of file Fetcher.py.


The documentation for this class was generated from the following file: