docs: `Flask-Uploads, X-Forwarded-Host`

This commit is contained in:
defuz 2014-11-05 07:23:47 +03:00
parent 06d9a5e738
commit 17eee81da0
5 changed files with 9 additions and 9 deletions

View file

@ -144,7 +144,7 @@ Dispatch by Path
----------------
Dispatching by a path on the URL is very similar. Instead of looking at
the `Host` header to figure out the subdomain one simply looks at the
the ``Host`` header to figure out the subdomain one simply looks at the
request path up to the first slash::
from threading import Lock

View file

@ -184,7 +184,7 @@ An Easier Solution
Because the common pattern for file uploads exists almost unchanged in all
applications dealing with uploads, there is a Flask extension called
`Flask-Uploads`_ that implements a full fledged upload mechanism with
``Flask-Uploads``_ that implements a full fledged upload mechanism with
white and blacklisting of extensions and more.
.. _Flask-Uploads: http://pythonhosted.org/Flask-Uploads/