Repository navigation
Commit 32845c3
committed
Preserve content-encoding in response content interceptor
This solves issues with gzip encoded content where the encoding was missing after
the interceptor. This has to be handled in apache http v5 because
ByteArrayEntity now requires a non null content encoding to make sure
the encoding is preserved. Apache will decompress the gzip
automaticalyly if content encoding is set to gzip.1 parent 36a155d commit 32845c3
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- src/main/java/no/digipost/api/client/internal/http/response/interceptor
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments