From c421de413fa626c5ecbf933ef1000ba016f927e2 Mon Sep 17 00:00:00 2001 From: Marius Constantin Date: Thu, 27 Oct 2022 11:54:49 +0200 Subject: [PATCH] Fix the source key name into the SR payload upload form --- .../sessionreplay/internal/net/SessionReplayOkHttpUploader.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dd-sdk-android/src/main/kotlin/com/datadog/android/sessionreplay/internal/net/SessionReplayOkHttpUploader.kt b/dd-sdk-android/src/main/kotlin/com/datadog/android/sessionreplay/internal/net/SessionReplayOkHttpUploader.kt index 19f0a036b0..6674849c2e 100644 --- a/dd-sdk-android/src/main/kotlin/com/datadog/android/sessionreplay/internal/net/SessionReplayOkHttpUploader.kt +++ b/dd-sdk-android/src/main/kotlin/com/datadog/android/sessionreplay/internal/net/SessionReplayOkHttpUploader.kt @@ -293,11 +293,9 @@ internal class SessionReplayOkHttpUploader( internal const val RAW_SEGMENT_SIZE_FORM_KEY = "raw_segment_size" internal const val START_TIMESTAMP_FORM_KEY = "start" internal const val END_TIMESTAMP_FORM_KEY = "end" - internal const val SOURCE_FORM_KEY = "end" + internal const val SOURCE_FORM_KEY = "source" internal const val SEGMENT_FORM_KEY = "segment" internal const val CONTENT_TYPE_BINARY = "application/octet-stream" internal const val CONTENT_TYPE_MULTIPART_FORM = "multipart/form-data" - private const val HEADER_ENCODING = "Content-Encoding" - private const val ENCODING_GZIP = "gzip" } }