Skip to content

Commit

Permalink
api: objectInfo filtering should include more headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana authored and minio-trusted committed Jun 23, 2017
1 parent 89ff2fe commit c95c059
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api-stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@ func (c Client) BucketExists(bucketName string) (bool, error) {
// List of header keys to be filtered, usually
// from all S3 API http responses.
var defaultFilterKeys = []string{
"Connection",
"Transfer-Encoding",
"Accept-Ranges",
"Date",
"Server",
"Vary",
"x-amz-bucket-region",
"x-amz-request-id",
"x-amz-id-2",
// Add new headers to be ignored.
Expand Down

0 comments on commit c95c059

Please sign in to comment.