Metadata-Version: 2.1
Name: requests-wsgi-adapter
Version: 0.4.1
Summary: WSGI Transport Adapter for Requests
Home-page: https://github.com/seanbrant/requests-wsgi-adapter
Author: Sean Brant
Author-email: brant.sean@gmail.com
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Requires-Dist: requests (>=1.0)
Provides-Extra: tests
Requires-Dist: flake8 ; extra == 'tests'
Requires-Dist: pytest ; extra == 'tests'

.. code-block:: python

  >>> from django.core.wsgi import get_wsgi_application
  >>>
  >>> import requests
  >>> import wsgiadapter
  >>>
  >>> s = requests.Session()
  >>> s.mount('http://staging/', wsgiadapter.WSGIAdapter(get_wsgi_application()))
  >>> s.get('http://staging/index')
  <Response [200]>


