Fix Content-Type header
This commit is contained in:
parent
b880c1256e
commit
04fd2ccbe4
@ -86,7 +86,7 @@ func (c *Client) UploadImage(img *image.RGBA) (string, error) {
|
||||
}
|
||||
|
||||
for k, v := range map[string]string{
|
||||
"Content-type": type_,
|
||||
"Content-Type": type_,
|
||||
"Cache-Control": "max-age=31536000",
|
||||
"acl": "public-read",
|
||||
} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user