Browse files

Fixed #3875 -- Added HttpResponseBadRequest. Thanks, Scott Barr.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 3c6609a commit 6a643b03d7af5777c0729ee62d35a080158fc8af @malcolmt malcolmt committed Mar 30, 2007
Showing with 3 additions and 0 deletions.
  1. +3 −0 django/http/__init__.py
View
3 django/http/__init__.py
@@ -272,6 +272,9 @@ def __init__(self, redirect_to):
class HttpResponseNotModified(HttpResponse):
status_code = 304
+class HttpResponseBadRequest(HttpResponse):
+ status_code = 400
+
class HttpResponseNotFound(HttpResponse):
status_code = 404

0 comments on commit 6a643b0

Please sign in to comment.