2012-10-22 02:12:59 +08:00
|
|
|
from django.http.cookie import SimpleCookie, parse_cookie
|
2015-06-16 02:07:31 +08:00
|
|
|
from django.http.request import (
|
|
|
|
HttpRequest, QueryDict, RawPostDataException, UnreadablePostError,
|
|
|
|
)
|
2015-01-04 01:06:24 +08:00
|
|
|
from django.http.response import (
|
2015-06-16 02:07:31 +08:00
|
|
|
BadHeaderError, FileResponse, Http404, HttpResponse,
|
|
|
|
HttpResponseBadRequest, HttpResponseForbidden, HttpResponseGone,
|
|
|
|
HttpResponseNotAllowed, HttpResponseNotFound, HttpResponseNotModified,
|
|
|
|
HttpResponsePermanentRedirect, HttpResponseRedirect,
|
|
|
|
HttpResponseServerError, JsonResponse, StreamingHttpResponse,
|
2015-01-04 01:06:24 +08:00
|
|
|
)
|
2013-10-18 19:25:30 +08:00
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
'SimpleCookie', 'parse_cookie', 'HttpRequest', 'QueryDict',
|
2015-07-09 23:27:07 +08:00
|
|
|
'RawPostDataException', 'UnreadablePostError',
|
2013-10-18 19:25:30 +08:00
|
|
|
'HttpResponse', 'StreamingHttpResponse', 'HttpResponseRedirect',
|
|
|
|
'HttpResponsePermanentRedirect', 'HttpResponseNotModified',
|
|
|
|
'HttpResponseBadRequest', 'HttpResponseForbidden', 'HttpResponseNotFound',
|
|
|
|
'HttpResponseNotAllowed', 'HttpResponseGone', 'HttpResponseServerError',
|
2015-03-14 06:40:14 +08:00
|
|
|
'Http404', 'BadHeaderError', 'JsonResponse', 'FileResponse',
|
2013-10-18 19:25:30 +08:00
|
|
|
]
|