AwsInterceptor icon indicating copy to clipboard operation
AwsInterceptor copied to clipboard

AWS Gateway OkHttp Interceptor

Results 3 AwsInterceptor issues
Sort by recently updated
recently updated
newest added

if interceptor throw an exception that is not child of IOException app will crash FIX: wrap AmazonClientException with IOException https://github.com/square/okhttp/blob/e1af67f082027dd7811c88434749b7b8f807ceca/okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt#L535 https://github.com/xanscale/AwsInterceptor/commit/de62271956717d2b4dcf48a84267230ee0372845

I am downloading audio/wav file using AWS APIGateway with authorization but the file downloaded is corrupted and does not downloads more then 660B.

**Url:** https://www.aws.com/api Once the request is signed using the interceptor - **Excepted:** https://www.aws.com/api **Current:** https://www.aws.com/api/ Solution: private fun Request.sign(): Request { val canonicalUrl = url.canonicalized() val awsDummyRequest = DefaultRequest(serviceName).apply {...