Currently, our solution is copying the entire sourcecode from the
Cookies
module and modyfing the content before passing them to
fun String.fromHttpToGmtDate
. But arguably, this is even a more horrible solution than SAP not getting their stuff right.
c
cy
05/21/2019, 2:31 PM
The right solution would be to intercept the response pipeline and fix broken header instead of rewriting features. However currently not enough public API to do that (to create a new client call with replaced headers). Could you please file an issue and describe your usecase?
cy
05/21/2019, 2:31 PM
We just decided to fix public API to make it possible.