Skip to content

Commit

Permalink
fixed aws auth v2
Browse files Browse the repository at this point in the history
  • Loading branch information
aldor007 committed Oct 16, 2017
1 parent d2c18f4 commit 8341add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func S3AuthMiddleware(mortConfig *config.Config) echo.MiddlewareFunc {
}

switch h {
case "Content-Type", "Content-Md5", "Host":
case "Content-Type", "Content-Md5", "Host", "Date":
validiatonReq.Header.Set(h, v[0])
}
}
Expand Down

0 comments on commit 8341add

Please # to comment.