diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/routing.rst | 1 | ||||
| -rw-r--r-- | docs/test.rst | 2 | ||||
| -rw-r--r-- | docs/unicode.rst | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/docs/routing.rst b/docs/routing.rst index 9db3e177..f5a768cc 100644 --- a/docs/routing.rst +++ b/docs/routing.rst @@ -221,4 +221,3 @@ Variable parts are of course also possible in the host section:: Rule('/', endpoint='www_index', host='www.example.com'), Rule('/', endpoint='user_index', host='<user>.example.com') ], host_matching=True) - diff --git a/docs/test.rst b/docs/test.rst index eb0130b3..c7e213f8 100644 --- a/docs/test.rst +++ b/docs/test.rst @@ -139,7 +139,7 @@ Testing API A dict with values that are used to override the generated environ. .. attribute:: input_stream - + The optional input stream. This and :attr:`form` / :attr:`files` is mutually exclusive. Also do not provide this stream if the request method is not `POST` / `PUT` or something comparable. diff --git a/docs/unicode.rst b/docs/unicode.rst index 0dc977a7..d8eaa84c 100644 --- a/docs/unicode.rst +++ b/docs/unicode.rst @@ -95,7 +95,7 @@ argument that behaves like the `errors` parameter of the builtin string method Unlike the regular python decoding Werkzeug does not raise an :exc:`UnicodeDecodeError` if the decoding failed but an :exc:`~exceptions.HTTPUnicodeError` which -is a direct subclass of `UnicodeError` and the `BadRequest` HTTP exception. +is a direct subclass of `UnicodeError` and the `BadRequest` HTTP exception. The reason is that if this exception is not caught by the application but a catch-all for HTTP exceptions exists a default `400 BAD REQUEST` error page is displayed. |
