-
Notifications
You must be signed in to change notification settings - Fork 4
/
709.txt
30 lines (19 loc) · 2.06 KB
/
709.txt
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
* From specifications
** RFC 1945 (HTTP/1.0); RFC 2068 & 2616 (HTTP/1.1) 10.4.4 403 Forbidden
> The server understood the request, but is refusing to fulfill it. Authorization will not help and the request [DEL[[INS[{1945}]] should not]] [INS[SHOULD NOT]]
be repeated. If the request method was not HEAD and the server wishes to make
public why the request has not been fulfilled,
it [DEL[[INS[{1945}]] should]] [INS[SHOULD]] describe the reason for the refusal in the entity [DEL[body]]. [DEL[[INS[{1945,2068}]] This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.]] [INS[[INS[{2616}]] If the server does not wish to make this information available to the client, the status code 404 (Not Found) can be used instead.]]
サーバーは要求を理解しましたが、これを満たすことを拒否しています。
認証は助けとならず、要求を繰り返す'''べきではありません'''。
要求 method が [CODE(HTTP)[[[HEAD]]]] ではなく、
サーバーがなぜ要求が満たされなかったのかを公表したいと思うのであれば、
応答の実体[DEL[本体]]において拒否の理由を説明する'''べきです'''。 [DEL[この状態符号は、サーバーが要求を拒否した実際の理由を晒したくないと思っている時や他の適当な応答がないときに広く使われています。]] [INS[サーバーがこの情報をクライアントに知らせたくないと思うときは、代わりに状態符号 [CODE(HTTP)[404]] (見つかりません) を使うことができます。]]
** License
[[RFCのライセンス]]
[405] [CITE@en[RFC 7168 - The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)]]
( ([TIME[2014-04-02 07:55:01 +09:00]] 版))
<http://tools.ietf.org/html/rfc7168#section-2.3.2>
[406] [CITE@en[RFC 7252 - The Constrained Application Protocol (CoAP)]]
( ([TIME[2014-06-27 00:59:37 +09:00]] 版))
<http://tools.ietf.org/html/rfc7252#section-5.9.2.4>