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

@@ -89,8 +89,9 @@ When a request is blocked, the proxy responds with `403` and includes:
- `blocked-by-method-policy`
- `blocked-by-policy`
In "limited" mode, only `GET`, `HEAD`, and `OPTIONS` are allowed. HTTPS `CONNECT` and SOCKS5 are
blocked because they would bypass method enforcement.
In "limited" mode, only `GET`, `HEAD`, and `OPTIONS` are allowed. HTTPS `CONNECT` requests require
MITM to enforce limited-mode method policy; otherwise they are blocked. SOCKS5 remains blocked in
limited mode.
## Library API