src.core.http.providers.request
index
/home/stanislav/PycharmProjects/opendoor/src/core/http/providers/request.py

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License.
 
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
Development Team: Stanislav WEB

 
Classes
       
src.core.http.providers.cookies.CookiesProvider(__builtin__.object)
RequestProvider(src.core.http.providers.cookies.CookiesProvider, src.core.http.providers.header.HeaderProvider)
src.core.http.providers.header.HeaderProvider(src.core.http.providers.accept.AcceptHeaderProvider)
RequestProvider(src.core.http.providers.cookies.CookiesProvider, src.core.http.providers.header.HeaderProvider)

 
class RequestProvider(src.core.http.providers.cookies.CookiesProvider, src.core.http.providers.header.HeaderProvider)
    RequestProvider class
 
 
Method resolution order:
RequestProvider
src.core.http.providers.cookies.CookiesProvider
src.core.http.providers.header.HeaderProvider
src.core.http.providers.accept.AcceptHeaderProvider
__builtin__.object

Methods defined here:
__init__(self, config, agent_list)
init interface
:param src.lib.browser.config.Config config: configurations
:param dict agent_list: list of user agents
cookies_middleware(self, is_accept, response)
Route fetched cookies from first response to the next requests
:param urllib3.response.HTTPResponse response: Http response
:return: None
request(self, url)
Client request
:param str url: request uri
:return: None

Data descriptors inherited from src.core.http.providers.cookies.CookiesProvider:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from src.core.http.providers.header.HeaderProvider:
add_header(self, key, value)
Add custom header
 
:param str key: header name
:param str value: header value
:return: HeaderProvider