Project

General

Profile

Actions

Feature #10648

open

content-type for object is not getting updated either during object create or update. Head operation always shows content-type as application/octet-stream.

Added by Ahmad Faheem over 9 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Steps to rerpoduce:

1. swift post container
2. curl -i https://object.jiocloud.com:80/swift/v1/container/file1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: 24809d6b7f9848a29402bb682cd690d5" -H "content-type: text/plain" -d ""
3. swift stat container file1

Account: v1
Container: container
Object: file1
Content Type: application/octet-stream
Content Length: 0
Last Modified: Tue, 27 Jan 2015 10:33:59 GMT
ETag: d41d8cd98f00b204e9800998ecf8427e
Content-Encoding: gzip
Accept-Ranges: bytes
Vary: Accept-Encoding
Server: Apache/2.4.7 (Ubuntu)
Connection: close

ceph version: 0.80.8

Actions

Also available in: Atom PDF