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>
25 lines
2.0 KiB
HTML
25 lines
2.0 KiB
HTML
<a name="obs_03_0053"></a><a name="obs_03_0053"></a>
|
|
|
|
<h1 class="topictitle1">Operations on Objects</h1>
|
|
<div id="body1442649345322"><p id="obs_03_0053__p55162514">The requests that are sent by users to OBS (compatible with OpenStack Swift) must comply with REST specifications and contain required header parameters. If a request is successfully processed, OBS (compatible with OpenStack Swift) returns a success response. If the request cannot be processed, OBS (compatible with OpenStack Swift) returns a message that contains the cause of the error. This chapter describes REST operations on objects. Authentication is implemented based on IAM.</p>
|
|
<div class="note" id="obs_03_0053__note76081116476"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_03_0053__p684730016476">For OBS APIs, if the value of <strong id="obs_03_0053__b61881498">Content-Length</strong> in a request is not a valid numerical string, OBS (compatible with OpenStack Swift) will attempt to parse the content text and use it as the value of <strong id="obs_03_0053__b20062571">Content-Length</strong>. For example, <strong id="obs_03_0053__b84235270615200">-H"Content-Length:26abc"</strong> is equivalent to <strong id="obs_03_0053__b842352706152011">-H"Content-Length:26"</strong>. OpenStack Swift, however, returns the error code 400 (Bad Request).</p>
|
|
</div></div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="obs_03_0054.html">Get Object Content and Metadata</a></strong><br>
|
|
</li>
|
|
<li class="ulchildlink"><strong><a href="obs_03_0058.html">Create or Replace Object</a></strong><br>
|
|
</li>
|
|
<li class="ulchildlink"><strong><a href="obs_03_0062.html">Copy Object</a></strong><br>
|
|
</li>
|
|
<li class="ulchildlink"><strong><a href="obs_03_0066.html">Delete Object</a></strong><br>
|
|
</li>
|
|
<li class="ulchildlink"><strong><a href="obs_03_0070.html">Show Object Metadata</a></strong><br>
|
|
</li>
|
|
<li class="ulchildlink"><strong><a href="obs_03_0074.html">Create/Update/Delete Object Metadata</a></strong><br>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|