discourse/spec/components/middleware
Jarek Radosz 6ff888bd2c
DEV: Retry-after header values should be strings (#12475)
Fixes `Rack::Lint::LintError: a header value must be a String, but the value of 'Retry-After' is a Integer`. (see: 14a236b4f0/lib/rack/lint.rb (L676))

I found it when I got flooded by those warning a while back in a test-related accident 😉 (ember CLI tests were hitting a local rails server at a fast rate)
2021-03-23 20:32:36 +01:00
..
anonymous_cache_spec.rb FIX: Bypass AnonymousCache for /srv/status route. (#11491) 2020-12-16 16:47:46 +11:00
discourse_public_exceptions_spec.rb FIX: do not log if an invalid mime type is passed to app 2019-11-21 15:51:34 +11:00
enforce_hostname_spec.rb FIX: Allow CSP to work correctly for non-default hostnames/schemes (#9180) 2020-03-19 19:54:42 +00:00
request_tracker_spec.rb DEV: Retry-after header values should be strings (#12475) 2021-03-23 20:32:36 +01:00