Add option to skip rate limit for GET requests

Created on 7 September 2022, about 2 years ago
Updated 3 November 2023, about 1 year ago

Problem/Motivation

Currently this module only allows routes that have a specific tag to be rate limited according to applied configurations. But sometimes, a single route is used to achieve the functionality for both GET and POST methods. Ex: Form submits.
Now in case, we want to apply our rate limit on the POST method of that request, unfortunately current module implementation does not support it. So a configuration is needed to skip rate limiting GET requests. Created this to address that gap.

Proposed resolution

Add a simple config to skip rate limiting GET requests and skip functionality if config is enabled.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇳India Supreetam09 Kolkata

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024