package decoding

import "github.com/open-policy-agent/opa/v1/util/decoding"

Index

Functions

func AddServerDecodingGzipMaxLen

func AddServerDecodingGzipMaxLen(ctx context.Context, maxLen int64) context.Context

func AddServerDecodingMaxLen

func AddServerDecodingMaxLen(ctx context.Context, maxLen int64) context.Context

func GetServerDecodingGzipMaxLen

func GetServerDecodingGzipMaxLen(ctx context.Context) (int64, bool)

func GetServerDecodingMaxLen

func GetServerDecodingMaxLen(ctx context.Context) (int64, bool)

Used for enforcing max body content limits when dealing with chunked requests.

Source Files

context.go

Version
v1.3.0
Published
Mar 27, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
11 minutes ago

Tools for package owners.