Open F1LT3R opened 1 year ago
I do not have an issue accessing the mp4 video from an html page (playing it inline), but a direct visit to the mp4 link does not allow the video to be shown.
This stop videos from playing in some circumstances. Some browsers appear to access the video directly for streaming, instead of going through http-auth (such as Brave on mobile). That's what is making me think this is an upgrade-insecure-request
issue.
Note: this behavior is not reproducible with images like .png
or .jpg
.
Possibly related:
https://stackoverflow.com/questions/4840413/why-will-mp4-video-not-work-when-http-basic-authentication-enabled https://github.com/google/ExoPlayer/issues/4760 https://codybonney.com/serving-media-files-to-mobile-safari-behind-basic-http-authentication/
How should
upgrade-insecure-requests: 1
be handled when encountered in the response header?When I receive this header, there is no
sendStatus()
function on the httpresponse
argument.