diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2006-06-19 02:04:37 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2006-06-19 02:04:37 +0000 |
| commit | 214d88ce86e6257437bf2702ea6ef60e0ae23fad (patch) | |
| tree | 1d7bee258e1657d18ac912971cc9000d05ffb1c4 /docs | |
| parent | a93b1f7ac34c61ae4aa64423e9e46dc5d5349434 (diff) | |
Fixed #1646 -- Added HttpResponseNotAllowed, as suggested by Ian Holsman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/request_response.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/request_response.txt b/docs/request_response.txt index 33e5ef4d84..4939cac76f 100644 --- a/docs/request_response.txt +++ b/docs/request_response.txt @@ -400,6 +400,10 @@ types of HTTP responses. Like ``HttpResponse``, these subclasses live in ``HttpResponseForbidden`` Acts just like ``HttpResponse`` but uses a 403 status code. +``HttpResponseNotAllowed`` + Like ``HttpResponse``, but uses a 405 status code. Takes a single, + required argument: a list of permitted methods (e.g. ``['GET', 'POST']``). + ``HttpResponseGone`` Acts just like ``HttpResponse`` but uses a 410 status code. |
