Merge pull request #419 from davidjb/patch-1
2 Minor doco fixes
| | |
| | | return response |
| | | |
| | | Note that the ``http_cache`` machinery will overwrite or add to caching |
| | | headers you set within the view itself unless you use ``preserve_auto``. |
| | | headers you set within the view itself unless you use ``prevent_auto``. |
| | | |
| | | You can also turn of the effect of ``http_cache`` entirely for the duration |
| | | of a Pyramid application lifetime. To do so, set the |
| | |
| | | How Pyramid Uses HTTP Exceptions |
| | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | | |
| | | HTTP exceptions are meant to be used directly by application application |
| | | HTTP exceptions are meant to be used directly by application |
| | | developers. However, Pyramid itself will raise two HTTP exceptions at |
| | | various points during normal operations: |
| | | :exc:`pyramid.httpexceptions.HTTPNotFound` and |