Allow reusing POST data when using wxWebRequestCURL (PR #26048)

15 views
Skip to first unread message

VZ

unread,
Dec 22, 2025, 7:46:30 AM (22 hours ago) Dec 22
to wx-...@googlegroups.com, Subscribed

Set seek callback to allow libcurl to reuse the data being uploaded when it has to redo the HTTP request, e.g. because of redirection after a 301 or resubmitting it with correct authentication data after a 401.

Add a test checking that this works correctly, although it has to be disabled for WinHTTP for now as it doesn't handle 307/308 redirects automatically (see #26046).


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26048

Commit Summary

  • c3cb1c1 Allow reusing POST data when using wxWebRequestCURL

File Changes

(3 files)

Patch Links:


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/pull/26048@github.com>

VZ

unread,
Dec 22, 2025, 10:24:12 AM (19 hours ago) Dec 22
to wx-...@googlegroups.com, Push

@vadz pushed 1 commit.

  • 062af70 Send auth information provided in the URL preemptively


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26048/before/c3cb1c1d1b5d00a4e58f8dc4f244cd1583360592/after/062af70036642ff44de58ae1483bcd649cf53322@github.com>

VZ

unread,
Dec 22, 2025, 12:25:52 PM (17 hours ago) Dec 22
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26048)

OK, so I've changed my mind myself after seeing the tests breakage. I'll add UseBasicAuth() instead to explicitly opt in into using it.


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/pull/26048/c3683027639@github.com>

VZ

unread,
Dec 22, 2025, 1:32:57 PM (16 hours ago) Dec 22
to wx-...@googlegroups.com, Push

@vadz pushed 2 commits.

  • 3c31dd5 Add wxWebCredentials::IsOk()
  • 3baa046 Add support for preemptively using "Basic" HTTP authentication


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26048/before/062af70036642ff44de58ae1483bcd649cf53322/after/3baa04650f273622f92a15e08a4509f5e8876fb6@github.com>

VZ

unread,
Dec 22, 2025, 1:56:06 PM (16 hours ago) Dec 22
to wx-...@googlegroups.com, Push

@vadz pushed 1 commit.

  • 2be7895 Add support for preemptively using "Basic" HTTP authentication


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26048/before/3baa04650f273622f92a15e08a4509f5e8876fb6/after/2be7895e8ad623741285a0bac553f57c123fe6be@github.com>

VZ

unread,
Dec 22, 2025, 3:06:54 PM (15 hours ago) Dec 22
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26048)

I think this should be relatively uncontroversial now, but please let me know if anybody has any objections. Otherwise I'll merge this soon.


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/pull/26048/c3683982454@github.com>

Reply all
Reply to author
Forward
0 new messages