Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 6a643b03d7af5777c0729ee62d35a080158fc8af 1 parent 3c6609a
@malcolmt malcolmt authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.