1 | Index: django/http/__init__.py
|
---|
2 | ===================================================================
|
---|
3 | --- django/http/__init__.py (revision 4839)
|
---|
4 | +++ django/http/__init__.py (working copy)
|
---|
5 | @@ -291,6 +291,11 @@
|
---|
6 | HttpResponse.__init__(self, *args, **kwargs)
|
---|
7 | self.status_code = 410
|
---|
8 |
|
---|
9 | +class HttpResponseBadRequest(HttpResponse):
|
---|
10 | + def __init__(self, *args, **kwargs):
|
---|
11 | + HttpResponse.__init__(self, *args, **kwargs)
|
---|
12 | + self.status_code = 400
|
---|
13 | +
|
---|
14 | class HttpResponseServerError(HttpResponse):
|
---|
15 | def __init__(self, *args, **kwargs):
|
---|
16 | HttpResponse.__init__(self, *args, **kwargs)
|
---|