![]() ![]() To determine how much data you have stored in the system and the number HTTP / 1.1 200 OK Content - Length : 111 X - Account - Object - Count : 573 X - Timestamp : 1369081921.78518 X - Account - Meta - Temp - Url - Key : ed6a04a9f70458575112811a9af5284e X - Account - Meta - Subject : Whaling X - Account - Bytes - Used : 14268918 X - Account - Container - Count : 2 Content - Type : application / json charset = utf - 8 Accept - Ranges : bytes X - Trans - Id : t圆c802728f41b4804812ee - 005356 a3c8dfw1 Date : Tue, 17 : 15 : 52 GMT Determining storage usage # Operations return a 404 (Not Found) error (unless object versioning is Subsequent GET, HEAD, POST, PUT, or DELETE Object deletion is processed immediately at the time of the request. To delete an object in a container, you send an HTTP DELETE requestĪn HTTP status code of 204 (No Content) in the response indicates thatīoth the object data and metadata are removed from the storage system. ![]() HTTP / 1.1 200 OK Content - Length : 0 Accept - Ranges : bytes X - Object - Meta - Imagetype : png Last - Modified : Tue, 17 : 06 : 52 GMT X - Object - Meta - Imagesize : 400 MB Etag : d41d8cd98f00b204e9800998ecf8427e X - Timestamp : 1398186411.61064 Content - Type : image / jpeg X - Trans - Id : txad3571ebcee24cabb387a - 005356 a229dfw1 Date : Tue, 17 : 08 : 57 GMT Deleting an object # In this case, you can omit Content-LengthĪn HTTP status code of 201 (Created) in the response indicates that the However, when you send the file in the cURL request by using theĬURL -T option, cURL, by default, sets the Content-LengthĬorrectly by reading the file. If you know the value of Content-Length, you should also set it in the The file or whether to launch a helper application to display the file. This is the mechanism by which a user’s web browser knows how to display Information about Content-Type, see the Header Field Definitions in That the receiving server knows what kind of file it is. You must ensure that the object’s Content-Type is set correctly so To upload an object, you send an HTTP PUT request with a valid HTTP / 1.1 201 Created Content - Length : 0 Content - Type : text / html charset = UTF - 8 X - Trans - Id : tx858f693aeb5d420ea43da - 00568 d3c5cdfw1 Date : Wed, 16 : 10 : 04 GMT Uploading an object #Īfter creating a container, you can upload a file to it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |