package decoding
import "github.com/open-policy-agent/opa/v1/util/decoding"
Index ¶
- func AddServerDecodingGzipMaxLen(ctx context.Context, maxLen int64) context.Context
- func AddServerDecodingMaxLen(ctx context.Context, maxLen int64) context.Context
- func GetServerDecodingGzipMaxLen(ctx context.Context) (int64, bool)
- func GetServerDecodingMaxLen(ctx context.Context) (int64, bool)
Functions ¶
func AddServerDecodingGzipMaxLen ¶
func AddServerDecodingMaxLen ¶
func GetServerDecodingGzipMaxLen ¶
func GetServerDecodingMaxLen ¶
Used for enforcing max body content limits when dealing with chunked requests.
Source Files ¶
- Version
- v1.4.2 (latest)
- Published
- May 2, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 4 hours ago –
Tools for package owners.