From 2ced726754f86ccb3c06c6b4d5ac06078ed675db Mon Sep 17 00:00:00 2001 From: Ben White Date: Thu, 12 Jan 2023 10:50:36 +0100 Subject: [PATCH] fix: Compress all session_recording endpoints (#13669) * Compress all session_recording endpoints * Added playlist endpoints * typo --- posthog/settings/web.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/posthog/settings/web.py b/posthog/settings/web.py index e5eea27ad45..82efb784fca 100644 --- a/posthog/settings/web.py +++ b/posthog/settings/web.py @@ -240,7 +240,6 @@ GZIP_RESPONSE_ALLOW_LIST = get_list( "GZIP_RESPONSE_ALLOW_LIST", ",".join( [ - "^/?api/projects/\\d+/session_recordings/.*/snapshots/?$", "^/?api/plugin_config/\\d+/frontend/?$", "^/?api/projects/@current/property_definitions/?$", "^/?api/projects/\\d+/event_definitions/?$", @@ -251,6 +250,9 @@ GZIP_RESPONSE_ALLOW_LIST = get_list( "^/?api/projects/\\d+/dashboards/?$", "^/?api/projects/\\d+/actions/?$", "^/?api/projects/\\d+/session_recordings/?$", + "^/?api/projects/\\d+/session_recordings/.*$", + "^/?api/projects/\\d+/session_recording_playlists/?$", + "^/?api/projects/\\d+/session_recording_playlists/.*$", "^/?api/projects/\\d+/exports/\\d+/content/?$", "^/?api/projects/\\d+/activity_log/important_changes/?$", "^/?api/projects/\\d+/uploaded_media/?$",