I’m running in to some unexpected behavior with kt...
# ktor
d
I’m running in to some unexpected behavior with ktor-client where I make a request that receives a couple of 302 redirections, some of which set cookies. However the cookies are not being set which leads to the final request failing because it needs the cookies. When setting breakpoints it only appears as though the HttpCookies client-feature is only updating cookies when the final response is received rather than also on the redirections. Is this intended behavior? If so is there an easy way to tell the cookies feature to update on redirects? I’m using the okhttp engine in case it’s relevant.
o
Worth filing a bug report, since team is on vacation and it can be lost in history
👍 1
d
Is opening an issue on the github repo the expected way to file a bug report on ktor?
o
Yes
d
Filed https://github.com/ktorio/ktor/issues/843 I can provide additional information if it’s useful for debugging purposes.