blob: 779a9212d5c545fe10765a637096ee2f427e4c77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
---
title: Content-Length
slug: Web/HTTP/Headers/Content-Length
tags:
- HTTP
- Reference
- エンティティヘッダー
- ヘッダー
- リファレンス
translation_of: Web/HTTP/Headers/Content-Length
---
<div>{{HTTPSidebar}}</div>
<p><strong><code>Content-Length</code></strong> エンティティヘッダーは、受信者に送信されるエンティティ本文の長さをバイト単位で示します。</p>
<table class="properties">
<tbody>
<tr>
<th scope="row">ヘッダー種別</th>
<td>{{Glossary("Entity header", "エンティティヘッダー")}}</td>
</tr>
<tr>
<th scope="row">{{Glossary("Forbidden header name", "禁止ヘッダー名")}}</th>
<td>はい</td>
</tr>
</tbody>
</table>
<h2 id="Syntax" name="Syntax">構文</h2>
<pre class="syntaxbox">Content-Length: <length>
</pre>
<h2 id="Directives" name="Directives">ディレクティブ</h2>
<dl>
<dt><length></dt>
<dd>オクテット列の長さの10進数表記。</dd>
</dl>
<h2 id="Specifications" name="Specifications">仕様書</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">仕様書</th>
<th scope="col">題名</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{RFC("7230", "Content-Length", "3.3.2")}}</td>
<td>Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</td>
</tr>
</tbody>
</table>
<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>
<p>{{Compat("http.headers.Content-Length")}}</p>
<h2 id="See_also" name="See_also">関連情報</h2>
<ul>
<li>{{HTTPHeader("Transfer-Encoding")}}</li>
</ul>
|