Skip to content

Commit

Permalink
fix: s3 create-multipart-upload cache-control header not allowed (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
imstevez authored Sep 26, 2023
1 parent 444c1f3 commit 7ee8a0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion s3/api/requests/parsers_multipart.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@ package requests

import (
"errors"
"net/http"

"github.com/aws/aws-sdk-go/service/s3"
"github.com/bittorrent/go-btfs/s3/api/contexts"
"github.com/bittorrent/go-btfs/s3/api/services/object"
"github.com/bittorrent/go-btfs/s3/consts"
"github.com/bittorrent/go-btfs/s3/hash"
"net/http"
)

var createMultipartUploadSupports = fields{
"Bucket": true,
"Key": true,
"CacheControl": true,
"ContentLength": true,
"ContentEncoding": true,
"ContentType": true,
Expand Down
3 changes: 2 additions & 1 deletion s3/api/requests/parsers_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package requests

import (
"errors"
"net/http"

"github.com/aws/aws-sdk-go/service/s3"
"github.com/bittorrent/go-btfs/s3/api/contexts"
"github.com/bittorrent/go-btfs/s3/api/services/object"
"github.com/bittorrent/go-btfs/s3/consts"
"github.com/bittorrent/go-btfs/s3/hash"
"net/http"
)

var putObjectSupports = fields{
Expand Down

0 comments on commit 7ee8a0d

Please sign in to comment.