Feat: cancel archive action / request with context

This commit is contained in:
HFO4
2020-01-02 15:36:13 +08:00
parent 1393659668
commit aeca161186
4 changed files with 58 additions and 5 deletions

View File

@@ -64,6 +64,7 @@ func (handler Handler) Get(ctx context.Context, path string) (response.RSCloser,
"GET",
downloadURL,
nil,
request.WithContext(ctx),
).GetRSCloser()
if err != nil {