Add option to override expire headers

This commit is contained in:
Medya Gh 2019-12-27 23:14:02 -08:00 committed by Will Norris
parent 95bcf70004
commit 3c7ff75344
4 changed files with 28 additions and 3 deletions

View file

@ -166,7 +166,7 @@ func TestAllowed(t *testing.T) {
}
for _, tt := range tests {
p := NewProxy(nil, nil)
p := NewProxy(nil, nil, map[string]string{})
p.AllowHosts = tt.allowHosts
p.DenyHosts = tt.denyHosts
p.SignatureKeys = tt.keys