mirror of
https://github.com/openai/codex.git
synced 2026-04-29 17:06:51 +00:00
refactor(network-proxy): align MITM blocked request metadata
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user