mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
Thanks leahculver for the suggestion and Erik Romijn, Simon Charette, and Marc Tamlyn for the reviews.
22 lines
1.2 KiB
Python
22 lines
1.2 KiB
Python
from django.http.cookie import SimpleCookie, parse_cookie
|
|
from django.http.request import (HttpRequest, QueryDict,
|
|
RawPostDataException, UnreadablePostError, build_request_repr)
|
|
from django.http.response import (HttpResponse, StreamingHttpResponse,
|
|
HttpResponseRedirect, HttpResponsePermanentRedirect,
|
|
HttpResponseNotModified, HttpResponseBadRequest, HttpResponseForbidden,
|
|
HttpResponseNotFound, HttpResponseNotAllowed, HttpResponseGone,
|
|
HttpResponseServerError, Http404, BadHeaderError, JsonResponse)
|
|
from django.http.utils import (fix_location_header,
|
|
conditional_content_removal, fix_IE_for_attach, fix_IE_for_vary)
|
|
|
|
__all__ = [
|
|
'SimpleCookie', 'parse_cookie', 'HttpRequest', 'QueryDict',
|
|
'RawPostDataException', 'UnreadablePostError', 'build_request_repr',
|
|
'HttpResponse', 'StreamingHttpResponse', 'HttpResponseRedirect',
|
|
'HttpResponsePermanentRedirect', 'HttpResponseNotModified',
|
|
'HttpResponseBadRequest', 'HttpResponseForbidden', 'HttpResponseNotFound',
|
|
'HttpResponseNotAllowed', 'HttpResponseGone', 'HttpResponseServerError',
|
|
'Http404', 'BadHeaderError', 'fix_location_header', 'JsonResponse',
|
|
'conditional_content_removal', 'fix_IE_for_attach', 'fix_IE_for_vary',
|
|
]
|