From 99fbb7b62b61b3e4beef99f46132567082adbea9 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 1 Apr 2007 05:18:47 +0000 Subject: [PATCH] Documented HttpResponseBadRequest. Refs #3847 and [4867] git-svn-id: http://code.djangoproject.com/svn/django/trunk@4890 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/request_response.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/request_response.txt b/docs/request_response.txt index 2b79903d13..40f06c859f 100644 --- a/docs/request_response.txt +++ b/docs/request_response.txt @@ -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.