diff options
| author | Stefan Boberg <[email protected]> | 2026-04-20 10:58:35 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-04-20 10:58:35 +0200 |
| commit | 71cce4951b7e132c3aff5eb4cbe2985aca527e46 (patch) | |
| tree | 5c99d9462f4b78726a0e6193bc78002049c57760 /src/zenserver-test/process-tests.cpp | |
| parent | Move ZipFs from zenserver frontend into zenhttp (#980) (diff) | |
| download | archived-zen-71cce4951b7e132c3aff5eb4cbe2985aca527e46.tar.xz archived-zen-71cce4951b7e132c3aff5eb4cbe2985aca527e46.zip | |
zenhttp: add FollowRedirects option to HttpClient (#982)
- Adds `FollowRedirects` (default `false`) and `MaxRedirects` (default `5`) fields to `HttpClientSettings`.
- When `FollowRedirects` is enabled, the curl backend sets `CURLOPT_FOLLOWLOCATION` and `CURLOPT_MAXREDIRS` so HTTP 3xx redirects are handled transparently in the transport layer — callers no longer need to parse `Location` headers and re-issue requests themselves.
- Defaults are off, so existing callers see no behavior change.
Diffstat (limited to 'src/zenserver-test/process-tests.cpp')
0 files changed, 0 insertions, 0 deletions