You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 1010B

123456789101112131415161718192021
  1. from django.http.cookie import SimpleCookie, parse_cookie
  2. from django.http.request import (
  3. HttpRequest, QueryDict, RawPostDataException, UnreadablePostError,
  4. )
  5. from django.http.response import (
  6. BadHeaderError, FileResponse, Http404, HttpResponse,
  7. HttpResponseBadRequest, HttpResponseForbidden, HttpResponseGone,
  8. HttpResponseNotAllowed, HttpResponseNotFound, HttpResponseNotModified,
  9. HttpResponsePermanentRedirect, HttpResponseRedirect,
  10. HttpResponseServerError, JsonResponse, StreamingHttpResponse,
  11. )
  12. __all__ = [
  13. 'SimpleCookie', 'parse_cookie', 'HttpRequest', 'QueryDict',
  14. 'RawPostDataException', 'UnreadablePostError',
  15. 'HttpResponse', 'StreamingHttpResponse', 'HttpResponseRedirect',
  16. 'HttpResponsePermanentRedirect', 'HttpResponseNotModified',
  17. 'HttpResponseBadRequest', 'HttpResponseForbidden', 'HttpResponseNotFound',
  18. 'HttpResponseNotAllowed', 'HttpResponseGone', 'HttpResponseServerError',
  19. 'Http404', 'BadHeaderError', 'JsonResponse', 'FileResponse',
  20. ]