Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 5c04c58

Browse files
Apply suggestion from @sharadregoti
Co-authored-by: Master <sharadregoti15@gmail.com>
1 parent bc043cf commit 5c04c58

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tyk-docs/content/shared/gateway-config.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,11 @@ https://tyk.io/docs/api-management/traffic-transformation/#request-size-limits
327327
ENV: <b>TYK_GW_HTTPSERVEROPTIONS_MAXRESPONSEBODYSIZE</b><br />
328328
Type: `int64`<br />
329329

330-
MaxResponseBodySize configures an upper limit for the size of the response body (payload) in bytes.
331-
332-
This limit is currently applied only if the Response Body Transform middleware is enabled.
330+
MaxResponseBodySize sets an upper limit on the response body (payload) size in bytes. It defaults to 0, which means there is no restriction on the response body size.
333331

334332
The Gateway will return `HTTP 500 Response Body Too Large` if the response payload exceeds MaxResponseBodySize+1 bytes.
335333

336-
A value of zero (default) means that no maximum is set and response bodies will not be limited.
334+
**Note:** The limit is applied only when the [Response Body Transform middleware]({{< ref "api-management/traffic-transformation/response-body" >}}) is enabled.
337335

338336
### version_header
339337
ENV: <b>TYK_GW_VERSIONHEADER</b><br />

0 commit comments

Comments
 (0)