Add ContentEncodingCheckMiddleware

This commit is contained in:
Klaas van Schelven
2025-11-11 13:39:44 +01:00
parent f5d7b430f2
commit 72aab81d7d
5 changed files with 51 additions and 3 deletions

View File

@@ -4,8 +4,8 @@ from .views import IngestEventAPIView, IngestEnvelopeAPIView, MinidumpAPIView
urlpatterns = [
# project_pk has to be an int per Sentry Client expectations.
path("<int:project_pk>/store/", IngestEventAPIView.as_view()),
path("<int:project_pk>/envelope/", IngestEnvelopeAPIView.as_view()),
path("<int:project_pk>/store/", IngestEventAPIView.as_view(), name="ingest-store"),
path("<int:project_pk>/envelope/", IngestEnvelopeAPIView.as_view(), name="ingest-envelope"),
# is this "ingest"? it is at least in the sense that it matches the API schema and downstream auth etc.
path("<int:project_pk>/minidump/", MinidumpAPIView.as_view()),