mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 16:28:59 +00:00
Refactor Cache-Control and Vary definitions (#24347)
This commit is contained in:
@@ -7,10 +7,6 @@ class ActivityPub::BaseController < Api::BaseController
|
||||
|
||||
private
|
||||
|
||||
def set_cache_headers
|
||||
response.headers['Vary'] = 'Signature' if authorized_fetch_mode?
|
||||
end
|
||||
|
||||
def skip_temporary_suspension_response?
|
||||
false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user