Author: mtredinnick
Date: 2007-03-30 01:48:19 -0500 (Fri, 30 Mar 2007)
New Revision: 4866

Modified:
   django/trunk/django/http/__init__.py
Log:
Fixed #3875 -- Added HttpResponseBadRequest. Thanks, Scott Barr.


Modified: django/trunk/django/http/__init__.py
===================================================================
--- django/trunk/django/http/__init__.py        2007-03-30 06:46:36 UTC (rev 
4865)
+++ django/trunk/django/http/__init__.py        2007-03-30 06:48:19 UTC (rev 
4866)
@@ -272,6 +272,9 @@
 class HttpResponseNotModified(HttpResponse):
     status_code = 304
 
+class HttpResponseBadRequest(HttpResponse):
+    status_code = 400
+
 class HttpResponseNotFound(HttpResponse):
     status_code = 404
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to