forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
127 lines
9.1 KiB
HTML
127 lines
9.1 KiB
HTML
<a name="obs_03_0056"></a><a name="obs_03_0056"></a>
|
|
|
|
<h1 class="topictitle1">Response</h1>
|
|
<div id="body1442649345329"><div class="section" id="obs_03_0056__section30570743"><h4 class="sectiontitle">Response Headers</h4><p id="obs_03_0056__p37068098144252"></p>
|
|
<p id="obs_03_0056__p46288644">The following table describes the response headers:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0056__table59658522144238" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Response header parameters</caption><thead align="left"><tr id="obs_03_0056__row55181501144238"><th align="left" class="cellrowborder" valign="top" width="33.39%" id="mcps1.3.1.4.2.4.1.1"><p id="obs_03_0056__p29104717144238">Header</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.4%" id="mcps1.3.1.4.2.4.1.2"><p id="obs_03_0056__p8671853144238">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46.21%" id="mcps1.3.1.4.2.4.1.3"><p id="obs_03_0056__p31331502144238">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_0056__row13548066144238"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p23651575144238">Accept-Ranges</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p36729408144238">String</p>
|
|
<p id="obs_03_0056__p30712559145926">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p22292070144238">Type of ranges that the object accepts.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0056__row6423655915944"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p3577876015944">X-Object-Meta-name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p1239840915944">String</p>
|
|
<p id="obs_03_0056__p36702715145941">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p6474706715944">Custom object metadata item, where <strong id="obs_03_0056__b35178749">{name}</strong> is the name of the metadata item.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0056__row37782275102328"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p40465454102328">X-Timestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p227314485311">Datetime</p>
|
|
<p id="obs_03_0056__p42390779145944">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p11181925102328">Object creation time and date, in UNIX Epoch timestamp format.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0056__row60159480102332"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p41079706102332">ETag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p39121876102332">String</p>
|
|
<p id="obs_03_0056__p271798811504">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p44738538161017">For ordinary objects, this value is the MD5 checksum of the object content.</p>
|
|
<p id="obs_03_0056__p14755407102332">For manifest objects, this value is the MD5 checksum of the concatenated string of MD5 checksums for each of the segments in the manifest.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0056__row16695428102337"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p10152397102337">Content-Encoding</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p17037790102337">String</p>
|
|
<p id="obs_03_0056__p2879614015040">(Optional)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p37883744102337">Code used when an object is downloaded through a browser.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0056__row45902091102652"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p27081929102652">Content-Disposition</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p46152651102652">String</p>
|
|
<p id="obs_03_0056__p1969381415038">(Optional)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p47377274102652">When an object is downloaded through a browser, the default object name is <strong id="obs_03_0056__b49409500">newname</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0056__row50936082102832"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p32181953102832">X-Object-Manifest</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p56601389102832">String</p>
|
|
<p id="obs_03_0056__p3317542315036">(Optional)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p21309757102832">This is the identifier of a dynamic large object. The value is the container and object name prefix of the segment objects in the form of <em id="obs_03_0056__i1075393796111726">container/prefix</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0056__row62438886102858"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p24385026102858">X-Static-Large-Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p63707726102928">String</p>
|
|
<p id="obs_03_0056__p679015315027">(Optional)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p2629768102858">Identifier of a large static object.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0056__row3879482820419"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p1931059020451">Content-Length</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p2065397620451">String</p>
|
|
<p id="obs_03_0056__p5166805920451">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p2436324220451">If the operation succeeds, the value is the content length of the obtained object.</p>
|
|
<p id="obs_03_0056__p1794259320451">If the operation fails, this value is the length of the error text in the response body.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0056__row6587446420421"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p6103081920451">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p4454927620451">String</p>
|
|
<p id="obs_03_0056__p6539916420451">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p6284090420451">MIME type of the object.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0056__row4811664420422"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p4277436120451">Date</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p4217123620451">Datetime</p>
|
|
<p id="obs_03_0056__p4399680920451">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p697180020451">Transaction date and time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0056__row6539430520423"><td class="cellrowborder" valign="top" width="33.39%" headers="mcps1.3.1.4.2.4.1.1 "><p id="obs_03_0056__p4927772020451">X-Trans-Id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.4%" headers="mcps1.3.1.4.2.4.1.2 "><p id="obs_03_0056__p3207237320451">Uuid</p>
|
|
<p id="obs_03_0056__p2021590320451">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.21%" headers="mcps1.3.1.4.2.4.1.3 "><p id="obs_03_0056__p2687544020451">A unique transaction identifier.</p>
|
|
<p id="obs_03_0056__p4055236820451"></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="obs_03_0056__note14391868164333"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0056__p62417953164333">If the MIME type of the object in the object upload is not in <em id="obs_03_0056__i60965314">XXX/XXX</em> format, OBS (compatible with OpenStack Swift) uses the default type <strong id="obs_03_0056__b11816915">application/octet-stream</strong>. OpenStack Swift is able to return <strong id="obs_03_0056__b39243373">Content-Type</strong> in non-<em id="obs_03_0056__i17646041">XXX/XXX</em> format.</p>
|
|
</div></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0054.html">Get Object Content and Metadata</a></div>
|
|
</div>
|
|
</div>
|
|
|