Skip to content

Easy way for a server to limit body size of a stream #129

Open
@daurnimator

Description

@daurnimator

e.g. stream:setmaxbodysize(4096)

Once the limit is reached then e.g. :get_body_as_string() should return some error. (which then e.g. gets translated to a 413 status code)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions