diff options
Diffstat (limited to 'docs/tutorial.rst')
-rwxr-xr-x | docs/tutorial.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 3be4fee..27da2eb 100755 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -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 @@ -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(): |