diff options
| author | Quentin Pradet <quentin.pradet@gmail.com> | 2020-11-15 23:52:25 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-15 13:52:25 -0600 |
| commit | 2e0c8f09d3b0c7890d951744da30dad6887799b4 (patch) | |
| tree | 391c19307cc7f5d75ffd32927e87ce711c8098af /docs/advanced-usage.rst | |
| parent | c7f6c6c4a6878c6dce865aa3e0b7867eee67919d (diff) | |
| download | urllib3-2e0c8f09d3b0c7890d951744da30dad6887799b4.tar.gz | |
Remove remaining mentions of Google App Engine
Diffstat (limited to 'docs/advanced-usage.rst')
| -rw-r--r-- | docs/advanced-usage.rst | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/docs/advanced-usage.rst b/docs/advanced-usage.rst index 2edf4ed6..540fbe59 100644 --- a/docs/advanced-usage.rst +++ b/docs/advanced-usage.rst @@ -329,39 +329,6 @@ Finally, you can suppress the warnings at the interpreter level by setting the ``PYTHONWARNINGS`` environment variable or by using the `-W flag <https://docs.python.org/3/using/cmdline.html#cmdoption-w>`_. -Google App Engine ------------------ - -urllib3 supports `Google App Engine <https://cloud.google.com/appengine>`_ with -some caveats. - -If you're using the `Flexible environment -<https://cloud.google.com/appengine/docs/flexible/>`_, you do not have to do -any configuration- urllib3 will just work. However, if you're using the -`Standard environment <https://cloud.google.com/appengine/docs/python/>`_ then -you either have to use :mod:`urllib3.contrib.appengine`'s -:class:`~urllib3.contrib.appengine.AppEngineManager` or use the `Sockets API -<https://cloud.google.com/appengine/docs/python/sockets/>`_ - -To use :class:`~urllib3.contrib.appengine.AppEngineManager`: - -.. code-block:: pycon - - >>> from urllib3.contrib.appengine import AppEngineManager - >>> http = AppEngineManager() - >>> http.request('GET', 'https://google.com/') - -To use the Sockets API, add the following to your app.yaml and use -:class:`~urllib3.poolmanager.PoolManager` as usual: - -.. code-block:: yaml - - env_variables: - GAE_USE_SOCKETS_HTTPLIB : 'true' - -For more details on the limitations and gotchas, see -:mod:`urllib3.contrib.appengine`. - Brotli Encoding --------------- |
