Fix: cache-control header in thumb redirect request

This commit is contained in:
HFO4
2020-02-01 10:08:34 +08:00
parent 4f0c2bbb29
commit 9fe451ad4b
4 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ type ContentResponse struct {
Redirect bool
Content RSCloser
URL string
MaxAge int
}
// RSCloser 存储策略适配器返回的文件流有些策略需要带有Closer