refactor(network-proxy): align MITM blocked request metadata

This commit is contained in:
viyatb-oai
2026-02-01 15:34:23 -08:00
parent 20ae699cbb
commit 1790a96d89
3 changed files with 13 additions and 10 deletions

View File

@@ -76,6 +76,7 @@ impl Default for NetworkProxySettings {
pub enum NetworkMode {
/// Limited (read-only) access: only GET/HEAD/OPTIONS are allowed for HTTP. HTTPS CONNECT is
/// blocked unless MITM is enabled so the proxy can enforce method policy on inner requests.
/// SOCKS5 remains blocked in limited mode.
Limited,
/// Full network access: all HTTP methods are allowed, and HTTPS CONNECTs are tunneled without
/// MITM interception.