Skip to content

Request size predicate #3990

@RomainWilbert

Description

@RomainWilbert

I want to route request regarding its size. I tried to use HeaderRoutePredicateFactory and Content-length header with a regex : this works but when I look at the requests I get : the header is not always present.

I don't want to cache request body and recalculate the request size, because i can have large payload.

Is there any better way to achieve what I am trying to do ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions