defaults.py 314 B

123456789101112131415161718192021
  1. from __future__ import annotations
  2. # Kept here for backwards compatibility
  3. default_headers = (
  4. "accept",
  5. "authorization",
  6. "content-type",
  7. "user-agent",
  8. "x-csrftoken",
  9. "x-requested-with",
  10. )
  11. default_methods = (
  12. "DELETE",
  13. "GET",
  14. "OPTIONS",
  15. "PATCH",
  16. "POST",
  17. "PUT",
  18. )