Skip to content

Commit 7dfdcf0

Browse files
committed
Add content-type header
1 parent 3e6c551 commit 7dfdcf0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extension/httpfs/s3fs.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ static HTTPHeaders create_s3_header(string url, string query, string host, strin
7575
hash_str canonical_request_hash_str;
7676
if (content_type.length() > 0) {
7777
signed_headers += "content-type;";
78+
res["content-type"] = content_type;
7879
}
7980
signed_headers += "host;x-amz-content-sha256;x-amz-date";
8081
if (auth_params.session_token.length() > 0) {

0 commit comments

Comments
 (0)