Handle HTTP 307 and 308 redirect status codes in `wxWebRequestWinHTTP` (Issue #26046)

7 views
Skip to first unread message

VZ

unread,
Dec 22, 2025, 7:41:14 AM (22 hours ago) Dec 22
to wx-...@googlegroups.com, Subscribed
vadz created an issue (wxWidgets/wxWidgets#26046)

Currently WinHTTP-based wxWebRequest implementation doesn't handle these status codes automatically, i.e. it just returns them to the application. This is unlike the other existing backends which do follow the redirect, just as they do for 301 and 302 (but keeping the same HTTP method).

There doesn't seem to be any way to tell WinHTTP to do it for us, but it should be possible to handle this ourselves by just redoing the request.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26046@github.com>

Reply all
Reply to author
Forward
0 new messages