Files
wxWidgets/tests/net
Vadim Zeitlin 2be7895e8a Add support for preemptively using "Basic" HTTP authentication
Add UseBasicAuth() which allows to avoid an extra round trip to the
server due to trying to access a protected URL without providing the
credentials first and only sending them in response to 401 response.

For libcurl, simply set authentication method to CURLAUTH_BASIC and let
the library handle everything. For the other backends, add the required
"Authorization" header ourselves, as they don't seem to have any support
for doing preemptive authentication on their own.
2025-12-22 19:55:34 +01:00
..