Skip to content

Commit dccb2a7

Browse files
Adding restricted headers to Connect Proxy docs
1 parent ea0cca8 commit dccb2a7

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs-v2/pages/connect/api-proxy.mdx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,33 @@ Filter the response for apps where `connect.proxy_enabled` is `true`.
232232
</Tabs.Tab>
233233
</Tabs>
234234
235+
## Restricted headers
236+
237+
The following headers are not allowed when making requests through the Connect API Proxy. Requests that include these headers will be rejected with a `400` error:
238+
239+
- `ACCEPT-ENCODING`
240+
- `ACCESS-CONTROL-REQUEST-HEADERS`
241+
- `ACCESS-CONTROL-REQUEST-METHOD`
242+
- `CONNECTION`
243+
- `CONTENT-LENGTH`
244+
- `COOKIE`
245+
- `DATE`
246+
- `DNT`
247+
- `EXPECT`
248+
- `HOST`
249+
- `KEEP-ALIVE`
250+
- `ORIGIN`
251+
- `PERMISSIONS-POLICY`
252+
- `REFERER`
253+
- `TE`
254+
- `TRAILER`
255+
- `TRANSFER-ENCODING`
256+
- `UPGRADE`
257+
- `VIA`
258+
- `NOTE`
259+
- Headers starting with `PROXY-`
260+
- Headers starting with `SEC-`
261+
235262
## Limits
236263
237264
- The Connect Proxy limits API requests to 1,000 requests per 5 minutes per project. Requests that surpass this limit will receive a `429` response.

0 commit comments

Comments
 (0)