diff options
| author | John Anderson <sontek@gmail.com> | 2014-12-27 00:23:18 -0800 |
|---|---|---|
| committer | John Anderson <sontek@gmail.com> | 2014-12-27 00:23:18 -0800 |
| commit | e8a666655b5365a0adde32f2bd387b0d42690384 (patch) | |
| tree | 7b639b85464d6d38f897172114553500a30c80f4 | |
| parent | 1236dec0dcfd916bca4e233587f86baa8d2418a8 (diff) | |
| download | pyramid-e8a666655b5365a0adde32f2bd387b0d42690384.tar.gz pyramid-e8a666655b5365a0adde32f2bd387b0d42690384.tar.bz2 pyramid-e8a666655b5365a0adde32f2bd387b0d42690384.zip | |
basic docs cleanup
| -rw-r--r-- | docs/glossary.rst | 3 | ||||
| -rw-r--r-- | docs/narr/hooks.rst | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst index 01300a0be..05ff7c114 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -16,6 +16,9 @@ Glossary An object which, provided a :term:`WSGI` environment as a single positional argument, returns a Pyramid-compatible request. + response factory + An object which returns a Pyramid-compatible response. + response An object returned by a :term:`view callable` that represents response data returned to the requesting user agent. It must implement the diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index f557527bb..4702c09b0 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -360,7 +360,7 @@ We attach and cache an object named ``extra`` to the ``request`` object. .. _changing_the_response_factory: Changing the Response Factory ----------------------------- +------------------------------- Whenever :app:`Pyramid` returns a response from a view it creates a :term:`response` object. By default, an instance of the |
