File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
sentry-android-okhttp/src/main/java/io/sentry/android/okhttp Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ ### Fixes
6+
7+ - Use correct set-cookie for the HTTP Client response object ([ #2326 ] ( https://github.com/getsentry/sentry-java/pull/2326 ) )
8+
59### Features
610
711- Customizable fragment lifecycle breadcrumbs ([ #2299 ] ( https://github.com/getsentry/sentry-java/pull/2299 ) )
Original file line number Diff line number Diff line change @@ -194,8 +194,8 @@ class SentryOkHttpInterceptor(
194194 }
195195
196196 val sentryResponse = io.sentry.protocol.Response ().apply {
197- // Cookie is only sent if isSendDefaultPii is enabled due to PII
198- cookies = if (hub.options.isSendDefaultPii) response.headers[" Cookie" ] else null
197+ // Set- Cookie is only sent if isSendDefaultPii is enabled due to PII
198+ cookies = if (hub.options.isSendDefaultPii) response.headers[" Set- Cookie" ] else null
199199 headers = getHeaders(response.headers)
200200 statusCode = response.code
201201
You can’t perform that action at this time.
0 commit comments