diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/templates.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index 53df3b010..30ba3d20b 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -368,7 +368,7 @@ templates as renderers. See :ref:`available_template_system_bindings`. :ref:`extending_chapter` for more information. By default, views rendered via a template renderer return a -:term:`Response` object which has a *status code* of ``200 OK`` and a +:term:`Response` object which has a *status code* of ``200 OK``, and a *content-type* of ``text/html``. To vary attributes of the response of a view that uses a renderer, such as the content-type, headers, or status attributes, you must set attributes on the *request* object |
