aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/http/status/411/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/web/http/status/411/index.html')
-rw-r--r--files/zh-tw/web/http/status/411/index.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/files/zh-tw/web/http/status/411/index.html b/files/zh-tw/web/http/status/411/index.html
new file mode 100644
index 0000000000..0e23db4f27
--- /dev/null
+++ b/files/zh-tw/web/http/status/411/index.html
@@ -0,0 +1,38 @@
+---
+title: 411 Length Required
+slug: Web/HTTP/Status/411
+translation_of: Web/HTTP/Status/411
+---
+<div>{{HTTPSidebar}}</div>
+
+<p>超文本傳輸協定 (HTTP) <code><strong>411 Length Required</strong></code> 用戶端錯誤表示伺服器拒絕接收沒有定義 {{HTTPHeader("Content-Length")}} 頭的請求。 </p>
+
+<div class="note">
+<p><strong>Note: </strong>by specification, when sending data in a series of chunks, the <code>Content-Length</code> header is omitted and at the beginning of each chunk you need to add the length of the current chunk in hexadecimal format. See {{HTTPHeader("Transfer-Encoding")}} for more details.</p>
+</div>
+
+<h2 id="狀態">狀態</h2>
+
+<pre class="syntaxbox">411 Length Required</pre>
+
+<h2 id="回應範例">回應範例</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Title</th>
+ </tr>
+ <tr>
+ <td>{{RFC("7231", "411 Length Required" , "6.5.10")}}</td>
+ <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="參見">參見</h2>
+
+<ul>
+ <li>{{HTTPHeader("Content-Length")}}</li>
+ <li>{{HTTPHeader("Transfer-Encoding")}}</li>
+</ul>