• Sean McGivern's avatar
    Allow custom rate limiting response text · 9feede8d
    Sean McGivern authored
    When a request exceeds a rate limit configured in the admin panel, we
    default to returning a 429 response with a plain-text body of 'Retry
    later'. This change allows the response body to be customised - although
    it must still be plain text - which allows, for example, GitLab.com to
    provide a link to GitLab.com-specific rate limiting documentation.
    9feede8d
application_setting_implementation.rb 15.9 KB