mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-04 20:46:37 +08:00
Fix cloud playback and organize ingest pipeline
This commit is contained in:
@@ -84,6 +84,9 @@ func TestServeFileRedirectsInternalSTRMAsAbsoluteURLWithToken(t *testing.T) {
|
||||
!strings.Contains(loc, "token=jwt123") {
|
||||
t.Fatalf("redirect Location should be absolute and tokenized, got %q", loc)
|
||||
}
|
||||
if got := w.Header().Get("Cache-Control"); !strings.Contains(got, "no-store") {
|
||||
t.Fatalf("cloud redirect Cache-Control = %q, want no-store", got)
|
||||
}
|
||||
}
|
||||
|
||||
func TestServeFileRedirectUsesForwardedTunnelHost(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user