Colton Idle
08/20/2022, 7:55 AMjava.lang.IllegalArgumentException: Unexpected char 0x41c at 74 in Content-Disposition value: inline; filename="7326f70a-1b88-4ff8-afc8-5f52190c7052b7179b07fcb968827a_Мала.jpg"
I wrote this interceptor and I set it as a network interceptor, but I still get the same crash (as if the interceptor doesn't even get applied). Can anyone point me in the right direction?
private val REMOVE_HEADER_INTERCEPTOR = Interceptor { chain ->
val originalResponse = chain.proceed(chain.request())
originalResponse.newBuilder()
.removeHeader("Content-Disposition")
.build()
}
ephemient
08/20/2022, 8:14 AMColton Idle
08/20/2022, 8:38 AMephemient
08/20/2022, 9:10 AMAppendix D. Advice on Generating Content-Disposition Header Fields
Colton Idle
08/20/2022, 8:00 PMjessewilson
08/21/2022, 2:00 PMColton Idle
08/21/2022, 6:02 PMephemient
08/21/2022, 9:28 PM