actix-web/actix-http/src
Dhinesh K c885158718 feat(awc): add HTTP proxy support via environment variables
Add support for HTTP_PROXY/HTTPS_PROXY/NO_PROXY environment variables
to the awc HTTP client, matching the behavior of reqwest and other
HTTP clients. Proxied requests use absolute-form URIs per RFC 7230
section 5.3.2.

Changes:
- actix-http: Add PROXY_REQUEST flag and absolute-form URI encoding
- awc: Add ProxyConfig, ClientBuilder::proxy()/no_proxy() methods
- awc: DefaultConnector routes connections through proxy when configured
- Proxy env vars are read by default; use no_proxy() to disable
2026-06-18 21:05:44 +05:30
..
body chore: address clippy lints 2025-05-09 20:21:02 +01:00
encoding fix(files,http,web): do not compress 206 at all (#3923) 2026-02-15 08:56:43 +09:00
h1 feat(awc): add HTTP proxy support via environment variables 2026-06-18 21:05:44 +05:30
h2 fix(http): fix unused imports (#4097) 2026-06-10 20:20:37 +09:00
header fix: correct HeaderMap iterators' len and size_hint for multi-value (#3971) 2026-03-10 10:16:35 +00:00
requests feat(awc): add HTTP proxy support via environment variables 2026-06-18 21:05:44 +05:30
responses test: fix tests based on mime-guess inference 2024-06-30 20:28:11 +01:00
ws Fix integer overflow in actix_http::ws::Parser::parse (#3728) 2025-08-22 06:24:22 +00:00
builder.rs http: add h1 write buffer size setting (#3986) 2026-04-18 13:22:45 +09:00
config.rs http: add h1 write buffer size setting (#3986) 2026-04-18 13:22:45 +09:00
date.rs perf: remove unnecessary allocation when writing http dates (#3261) 2024-02-07 03:47:30 +00:00
error.rs chore: address clippy lints 2025-05-09 20:21:02 +01:00
extensions.rs Add `Extensions::get_or_insert[_with]()` methods (#3561) 2025-02-09 22:04:21 +00:00
helpers.rs chore: address clippy warnings 2024-12-29 15:03:43 +00:00
http_message.rs chore: address clippy warnings 2024-12-29 15:03:43 +00:00
keep_alive.rs add ws and http2 feature flags (#2618) 2022-01-31 21:22:23 +00:00
lib.rs Add option to allow/disallow half closures in HTTP/1 (#3777) 2025-10-04 23:03:26 +00:00
message.rs feat(awc): add HTTP proxy support via environment variables 2026-06-18 21:05:44 +05:30
notify_on_drop.rs chore: clippy 2024-02-12 23:02:45 +00:00
payload.rs Add from_bytes/u8_bytes to dev::Payload (#3595) 2025-03-09 16:40:00 +00:00
service.rs fix(http): fix unused imports (#4097) 2026-06-10 20:20:37 +09:00
test.rs Add option to allow/disallow half closures in HTTP/1 (#3777) 2025-10-04 23:03:26 +00:00