Skip to content

Commit

Permalink
set content type
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijian-pro committed Nov 4, 2024
1 parent ecf6c06 commit 902899e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,8 @@ func (n *jfsObjects) GetObjectInfo(ctx context.Context, bucket, object string, o
if fi.IsDir() {
size = 0
contentType = "application/octet-stream"
} else {
contentType = utils.GuessMimeType(object)
}
// key1=value1&key2=value2
var tagStr []byte
Expand Down

0 comments on commit 902899e

Please sign in to comment.