mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-03-24 11:24:08 +08:00
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).
Tests
This directory contains tests for the library and is mostly useful for the
library developers. See the samples subdirectory for the examples that are
more useful to the application developers using the library.
If you do work on the library itself and would like to modify an existing or
add a new test, please see docs/contributing/how-to-write-unit-tests.md for
more information.
This file also contains the instructions for running the tests if you'd just like to do it to confirm that the library works correctly.