gregorbg
05/21/2019, 1:05 PMCookies
feature plugin? At work, we are communicating with an external service that requires cookies but that sends the Expires
cookie in an incorrect format (i.e. localised, German weekday abbreviations that are only 2 chars long). The ktor-client
module in our codebase subsequently throws an exception at https://github.com/ktorio/ktor/blob/68eef1948ce4c8c11dae794588f8d063afb67d0b/ktor-http/common/src/io/ktor/http/DateUtils.kt#L20 blocking further development. The communications partner is an enterprise-grade provider, so negotiating with them to just abide by the f*ing standards is not an option, I'm afraid. (Although it's sad that a company like them doesn't care for standards in the first place, but that's totally not my point here.)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.cy
05/21/2019, 2:31 PMgregorbg
05/21/2019, 3:00 PM