diff options
author | Wouter Wijsman <wwijsman@live.nl> | 2020-04-11 10:29:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 10:29:00 +0200 |
commit | 8294b30341f08da30b10d3d35aadb2fb13beda00 (patch) | |
tree | aa1a1dc04d596769b177e734979772c55e644005 | |
parent | 332215b2b1b3de5a321ba9f3497777fc93662893 (diff) | |
download | bottle-8294b30341f08da30b10d3d35aadb2fb13beda00.tar.gz |
Fix broken link to WSGI specification (#1210)
* Fixed link to WSGI Specification
-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(): |