#?SuikaWiki/0.9 page-icon="HTTP" [[#comment]] * 仕様書から **RFC 1945 (HTTP/1.0) 5.; RFC 2068・2616 (HTTP/1.1) 5 Request > A request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use. [DEL[[INS[{1945}]] For backwards compatibility with the more limited HTTP/0.9 protocol, there are two valid formats for an HTTP request:]] [[クライアント]]から[[サーバー]]への[DFN[要求メッセージ]]は、 そのメッセージの最初の行に、その[[資源]]に適用する[[方式]], その資源の識別子, 使用するプロトコルの版を含めます。[DEL[より限定された HTTP/0.9 プロトコルとの後方互換性のために、 HTTP 要求には2つの妥当な書式があります。]] [DEL[ [DEL[ >[INS[{1945}]] - Request = Simple-Request | Full-Request > - Simple-Request = "GET" SP Request-URI CRLF > - [PRE[ Full-Request = Request-Line ; Section 5.1 *( General-Header ; Section 4.3 | Request-Header ; Section 5.2 | Entity-Header ) ; Section 7.1 CRLF [ Entity-Body ] ; Section 7.2 ]PRE] ]DEL] [INS[ >[INS[{2068}]] - [PRE[ Request = Request-Line ; Section 5.1 *( general-header ; Section 4.5 | request-header ; Section 5.3 | entity-header ) ; Section 7.1 CRLF [ message-body ] ; Section 7.2 ]PRE] ]INS] ]DEL] [INS[ >[INS[{2616}]] - [PRE[ Request = Request-Line ; Section 5.1 *(( general-header ; Section 4.5 | request-header ; Section 5.3 | entity-header ) CRLF) ; Section 7.1 CRLF [ message-body ] ; Section 4.3 ]PRE] ]INS] [DEL[ >[INS[{1945}]] If an HTTP/1.0 server receives a Simple-Request, it must respond with an HTTP/0.9 Simple-Response. An HTTP/1.0 client capable of receiving a Full-Response should never generate a Simple-Request. HTTP/1.0 サーバーが [CODE(ABNF)[Simple-Request]] を受信したら、 HTTP/0.9 [CODE(ABNF)[Simple-Response]] で応答しなければなりません。 [CODE(ABNF)[Full-Response]] を受信する能力のある HTTP/1.0 クライアントは決して [CODE(ABNF)[Simple-Request]] を生成するべきではありません。 ]DEL] *** 5.1 Request-Line →[CODE(WikiPage)[[[Request-Line]]]] *** RFC 2068・2616 5.2 The Resource Identified by a Request →[CODE(WikiPage)[[[Request-URI]]]] *** RFC 1945 5.2; RFC 2068・2616 5.3 Request Header Fields →[CODE(WikiPage)[[[要求頭欄]]]] ** RFC の部分のライセンス [[RFCのライセンス]] * メモ