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>
18 lines
1.2 KiB
HTML
18 lines
1.2 KiB
HTML
<a name="obs_03_0014"></a><a name="obs_03_0014"></a>
|
|
|
|
<h1 class="topictitle1">Error Response Syntax</h1>
|
|
<div id="body8662426"><div class="section" id="obs_03_0014__section49814798"><h4 class="sectiontitle">Error Response Headers</h4><p id="obs_03_0014__p59347407">When an error occurs, the header information contains:</p>
|
|
<p id="obs_03_0014__p6102738">Content-Type: application/*, which may be in HTML or text format</p>
|
|
<p id="obs_03_0014__p51025211">HTTP status code 3xx, 4xx, or 5xx. For details, see <a href="obs_03_0013.html#obs_03_0013__table30733758">Table 1</a>.</p>
|
|
</div>
|
|
<div class="section" id="obs_03_0014__section66197583"><h4 class="sectiontitle">Error Response Body</h4><p id="obs_03_0014__p29423671">The response body also contains information about the error. The following is an example of an error response body in an authentication failure.</p>
|
|
<pre class="screen" id="obs_03_0014__screen31457064"><html><h1>Unauthorized</h1><p>This server could not verify that you are authorized to access the document you requested.</p></html></pre>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0012.html">Error Responses</a></div>
|
|
</div>
|
|
</div>
|
|
|