51 lines
1.1 KiB
Python
51 lines
1.1 KiB
Python
from django.http.cookie import SimpleCookie, parse_cookie
|
|
from django.http.request import (
|
|
HttpRequest,
|
|
QueryDict,
|
|
RawPostDataException,
|
|
UnreadablePostError,
|
|
)
|
|
from django.http.response import (
|
|
BadHeaderError,
|
|
FileResponse,
|
|
Http404,
|
|
HttpResponse,
|
|
HttpResponseBadRequest,
|
|
HttpResponseBase,
|
|
HttpResponseForbidden,
|
|
HttpResponseGone,
|
|
HttpResponseNotAllowed,
|
|
HttpResponseNotFound,
|
|
HttpResponseNotModified,
|
|
HttpResponsePermanentRedirect,
|
|
HttpResponseRedirect,
|
|
HttpResponseServerError,
|
|
JsonResponse,
|
|
StreamingHttpResponse,
|
|
)
|
|
|
|
__all__ = [
|
|
"SimpleCookie",
|
|
"parse_cookie",
|
|
"HttpRequest",
|
|
"QueryDict",
|
|
"RawPostDataException",
|
|
"UnreadablePostError",
|
|
"HttpResponse",
|
|
"HttpResponseBase",
|
|
"StreamingHttpResponse",
|
|
"HttpResponseRedirect",
|
|
"HttpResponsePermanentRedirect",
|
|
"HttpResponseNotModified",
|
|
"HttpResponseBadRequest",
|
|
"HttpResponseForbidden",
|
|
"HttpResponseNotFound",
|
|
"HttpResponseNotAllowed",
|
|
"HttpResponseGone",
|
|
"HttpResponseServerError",
|
|
"Http404",
|
|
"BadHeaderError",
|
|
"JsonResponse",
|
|
"FileResponse",
|
|
]
|