diff options
author | Mark Felder <feld@feld.me> | 2024-02-14 13:25:52 -0500 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-02-14 13:25:52 -0500 |
commit | 60ba6fd244b4deb8c69d4cd6b3114dcefeee4075 (patch) | |
tree | d19eb33ffb6fc883a969bf8fd438104a7ad656c0 /lib | |
parent | 79d69ce72a4a922d1be8f3aae36d5fff3089fd1c (diff) | |
download | pleroma-60ba6fd244b4deb8c69d4cd6b3114dcefeee4075.tar.gz pleroma-60ba6fd244b4deb8c69d4cd6b3114dcefeee4075.zip |
MediaProxy RFC compliance
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/reverse_proxy.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/reverse_proxy.ex b/lib/pleroma/reverse_proxy.ex index cc4530010..4d13e51fc 100644 --- a/lib/pleroma/reverse_proxy.ex +++ b/lib/pleroma/reverse_proxy.ex @@ -8,7 +8,7 @@ defmodule Pleroma.ReverseProxy do ~w(if-unmodified-since if-none-match) ++ @range_headers @resp_cache_headers ~w(etag date last-modified) @keep_resp_headers @resp_cache_headers ++ - ~w(content-length content-type content-disposition content-encoding) ++ + ~w(content-type content-disposition content-encoding) ++ ~w(content-range accept-ranges vary) @default_cache_control_header "public, max-age=1209600" @valid_resp_codes [200, 206, 304] |