mirror of https://github.com/django/django.git
Documented HttpResponseBadRequest. Refs #3847 and [4867]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4552175d44
commit
99fbb7b62b
|
@ -416,6 +416,10 @@ types of HTTP responses. Like ``HttpResponse``, these subclasses live in
|
|||
The constructor doesn't take any arguments. Use this to designate that a
|
||||
page hasn't been modified since the user's last request.
|
||||
|
||||
``HttpResponseBadRequest``
|
||||
**New in Django development version.**
|
||||
Acts just like ``HttpResponse`` but uses a 400 status code.
|
||||
|
||||
``HttpResponseNotFound``
|
||||
Acts just like ``HttpResponse`` but uses a 404 status code.
|
||||
|
||||
|
|
Loading…
Reference in New Issue