class documentation

class AppEngineManager(RequestMethods): (source)

View In Hierarchy

Connection manager for Google App Engine sandbox applications. This manager uses the URLFetch service directly instead of using the emulated httplib, and is subject to URLFetch limitations as described in the App Engine documentation `here <https://cloud.google.com/appengine/docs/python/urlfetch>`_. Notably it will raise an :class:`AppEnginePlatformError` if: * URLFetch is not available. * If you attempt to use this on App Engine Flexible, as full socket support is available. * If a request size is more than 10 megabytes. * If a response size is more than 32 megabytes. * If you use an unsupported request method such as OPTIONS. Beyond those cases, it will raise normal urllib3 errors.

Method __enter__ Undocumented
Method __exit__ Undocumented
Method __init__ Undocumented
Method urlopen Undocumented
Instance Variable retries Undocumented
Instance Variable urlfetch_retries Undocumented
Instance Variable validate_certificate Undocumented
Method _get_absolute_timeout Undocumented
Method _get_retries Undocumented
Method _urlfetch_response_to_http_response Undocumented

Inherited from RequestMethods:

Method request Make a request using :meth:`urlopen` with the appropriate encoding of ``fields`` based on the ``method`` used.
Method request_encode_body Make a request using :meth:`urlopen` with the ``fields`` encoded in the body. This is useful for request methods like POST, PUT, PATCH, etc.
Method request_encode_url Make a request using :meth:`urlopen` with the ``fields`` encoded in the url. This is useful for request methods like GET, HEAD, DELETE, etc.
Instance Variable headers Undocumented
Class Variable _encode_url_methods Undocumented
def __enter__(self): (source)

Undocumented

def __exit__(self, exc_type, exc_val, exc_tb): (source)

Undocumented

def __init__(self, headers=None, retries=None, validate_certificate=True, urlfetch_retries=True): (source)
def urlopen(self, method, url, body=None, headers=None, retries=None, redirect=True, timeout=Timeout.DEFAULT_TIMEOUT, **response_kw): (source)

Undocumented

urlfetch_retries = (source)

Undocumented

validate_certificate = (source)

Undocumented

def _get_absolute_timeout(self, timeout): (source)

Undocumented

def _get_retries(self, retries, redirect): (source)

Undocumented

def _urlfetch_response_to_http_response(self, urlfetch_resp, **response_kw): (source)

Undocumented