Skip to content

Rate Limit Response - I'd like to modify the body #1810

Open
@neskita

Description

@neskita

I'd like to customise the body when Rate Limit filter returns 429.

I can add the headers I want, but body is empty and I have a requirement to customise it.
I've tried other filter combinations, they work ok for other responses but it seems after this response is set to complete none of the filter / modifications are applied

Is there any workaround I could apply? Or any chance custom body is added any time soon to
org.springframework.cloud.gateway.filter.ratelimit.RateLimiter.Response ?

Thanks!

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