noc.core.http.client

Module Contents

noc.core.http.client.logger
noc.core.http.client.DEFAULT_CONNECT_TIMEOUT
noc.core.http.client.DEFAULT_REQUEST_TIMEOUT
noc.core.http.client.DEFAULT_USER_AGENT
noc.core.http.client.DEFAULT_BUFFER_SIZE
noc.core.http.client.DEFAULT_MAX_REDIRECTS
noc.core.http.client.ERR_TIMEOUT = 599
noc.core.http.client.ERR_READ_TIMEOUT = 598
noc.core.http.client.ERR_PARSE_ERROR = 597
noc.core.http.client.NS_CACHE_SIZE
noc.core.http.client.RESOLVER_TTL
noc.core.http.client.DEFAULT_PORTS
noc.core.http.client.REQUIRE_LENGTH_METHODS
noc.core.http.client.ns_lock
noc.core.http.client.ns_cache
noc.core.http.client.CE_DEFLATE = deflate
noc.core.http.client.CE_GZIP = gzip
noc.core.http.client.fetch_sync(url, method='GET', headers=None, body=None, connect_timeout=DEFAULT_CONNECT_TIMEOUT, request_timeout=DEFAULT_REQUEST_TIMEOUT, resolver=resolve, max_buffer_size=DEFAULT_BUFFER_SIZE, follow_redirects=False, max_redirects=DEFAULT_MAX_REDIRECTS, validate_cert=config.http_client.validate_certs, allow_proxy=False, proxies=None, user=None, password=None, content_encoding=None, eof_mark=None)
noc.core.http.client.to32u(n)