Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
geetanshjuneja committed Jan 7, 2025
1 parent 6a8429a commit db22c30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions core/src/services/cos/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ impl Access for CosBackend {

match status {
StatusCode::OK => {
let header = resp.headers();
let meta = parse_into_metadata(path, headers)?;
let user_meta = parse_prefixed_headers(headers, "x-cos-meta-");
if !user_meta.is_empty() {
Expand Down
1 change: 0 additions & 1 deletion core/src/services/cos/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ use http::header::CONTENT_LENGTH;
use http::header::CONTENT_TYPE;
use http::header::IF_MATCH;
use http::header::IF_NONE_MATCH;
use http::HeaderMap;
use http::Request;
use http::Response;
use reqsign::TencentCosCredential;
Expand Down

0 comments on commit db22c30

Please sign in to comment.