Skip to content

Request size middleware #808

@farazfazli

Description

@farazfazli

I notice often times when I'm using Chi I add in a middleware to limit request body size. This is a good practice if we want something smaller or larger than the default request size (1MB).

I propose that we add a middleware which takes in a number of bytes and restricts request size accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions