Skip to content

Commit

Permalink
Fix broken link to WSGI specification (#1210)
Browse files Browse the repository at this point in the history
* Fixed link to WSGI Specification
  • Loading branch information
sharkwouter committed Apr 11, 2020
1 parent 332215b commit 8294b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial.rst
Expand Up @@ -13,7 +13,7 @@
.. _mod_wsgi: http://code.google.com/p/modwsgi/
.. _Paste: http://pythonpaste.org/
.. _Pound: http://www.apsis.ch/pound/
.. _`WSGI Specification`: http://www.wsgi.org/
.. _WSGI_Specification: http://www.wsgi.org/
.. _issue: http://github.com/bottlepy/bottle/issues
.. _Python: http://python.org/
.. _SimpleCookie: http://docs.python.org/library/cookie.html#morsel-objects
Expand Down Expand Up @@ -675,7 +675,7 @@ You can access the raw body data as a file-like object via :attr:`BaseRequest.bo
WSGI Environment
--------------------------------------------------------------------------------

Each :class:`BaseRequest` instance wraps a WSGI environment dictionary. The original is stored in :attr:`BaseRequest.environ`, but the request object itself behaves like a dictionary, too. Most of the interesting data is exposed through special methods or attributes, but if you want to access `WSGI environ variables <WSGI specification>`_ directly, you can do so::
Each :class:`BaseRequest` instance wraps a WSGI environment dictionary. The original is stored in :attr:`BaseRequest.environ`, but the request object itself behaves like a dictionary, too. Most of the interesting data is exposed through special methods or attributes, but if you want to access `WSGI environ variables <WSGI_Specification>`_ directly, you can do so::

@route('/my_ip')
def show_ip():
Expand Down

0 comments on commit 8294b30

Please sign in to comment.