mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
headers
This commit is contained in:
parent
7dd9185171
commit
72198b42f8
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ object OkHttpConnectionFactory {
|
|||
.readTimeout(120, TimeUnit.SECONDS)
|
||||
.addInterceptor(HttpLoggingInterceptor().apply {
|
||||
if (BuildConfig.DEBUG) {
|
||||
setLevel(HttpLoggingInterceptor.Level.BODY)
|
||||
setLevel(HttpLoggingInterceptor.Level.HEADERS)
|
||||
} else {
|
||||
setLevel(HttpLoggingInterceptor.Level.BASIC)
|
||||
redactHeader("Authorization")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue