-
Notifications
You must be signed in to change notification settings - Fork 4
/
39.txt
23 lines (15 loc) · 1.29 KB
/
39.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
* 仕様書
[REFS[
- [1] [CITE@en[RFC 2145 - Use and Interpretation of HTTP Version Numbers]] ([TIME[2014-06-07 02:06:58 +09:00]] 版) <https://tools.ietf.org/html/rfc2145#section-1.1>
- [3] [CITE@en[RFC 7230 - Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing]] ([TIME[2014-06-07 01:59:35 +09:00]] 版) <https://tools.ietf.org/html/rfc7230#page-13>
- [6] [CITE@en[RFC 7540 - Hypertext Transfer Protocol Version 2 (HTTP/2)]] ([TIME[2015-05-15 10:14:54 +09:00]] 版) <https://tools.ietf.org/html/rfc7540#section-5.4>
]REFS]
* HTTP/1.1 以下
[2] [[robustness principle]] が [[HTTP]] にも適用されます。[[HTTP]] の実装は、
不用意に[[メッセージ]]を拒絶したり、[[エラー]]を生成したりする[['''べきではありません''']] [SRC[>>1]]。
[4] [[受信者]]は、明記されていない限り、[[非妥当]]な構造から利用可能な[[プロトコル要素]]を復元しようと試みて構いません。 [SRC[>>3]]
[5] [[RFC 7230]] は、[[セキュリティー]]に直接影響する場合を除き、
エラーの扱いを定義しない [SRC[>>3]] としています。
* HTTP/2
[7] [[HTTP/2]] のエラーには、[[接続エラー]]と[[ストリームエラー]]があります [SRC[>>6]]。
;; それぞれの項を参照。