Skip to content

Make the response status code configurable #148

@mecclesgoogle

Description

@mecclesgoogle

resp.statusCode = 403;

Some users might want to return a HTTP 429 status code, which is technically the correct status code to return for quota violations.

To preserve backwards compatibility, it can be made configurable and defaulted to 403, giving the consumer of the library (e.g. the Apgee microgateway) the ability to override it to 429.

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