Felix
07/27/2023, 10:15 AMHttpClient on the node target (Js engine), where the cookies are not being sent, even when installing the HttpCookies on the client.
The same multiplatform code does send the cookies when ran on the jvm target.
Are there any known limitations on using client-side cookies in node?e5l
07/27/2023, 10:34 AMFelix
07/27/2023, 10:40 AMset-cookie may not be present in the response object even if present in present in the response of the server?
• I've installed a custom storage and added breakpoints to get and addCookie. I can see the get being called but not the addCookie method.
• Where should I create the issue?Felix
07/27/2023, 10:51 AMset-cookie is present on redirect responses. Are redirects being handled automatically by the Js engine, without the response being processed by the ktor pipeline?Felix
07/27/2023, 11:01 AMnode-fetch probably is handling the redirects automatically (at least that is the documented fetch behaviour), which means the tor pipeline never sees the response with the set-cookie. Does this make sense?
Is there any way to control the fetch options object?Felix
07/27/2023, 11:10 AMfollowRedirects = false, then it works.e5l
07/27/2023, 11:10 AMFelix
07/27/2023, 11:11 AMe5l
07/27/2023, 11:12 AMe5l
07/27/2023, 12:34 PM