#?SuikaWiki/0.9 [1] = 1. Introduction .............................................. 4 == 1.1 Purpose .............................................. 4 == 1.2 Terminology .......................................... 4 --- 和訳 (部分) : [CODE(WikiPage)[[[接続]]]], [CODE(WikiPage)[[[メッセージ]]]], [CODE(WikiPage)[[[要求]]]], [CODE(WikiPage)[[[応答]]]], [CODE(WikiPage)[[[資源]]]], [CODE(WikiPage)[[[実体]]]], [CODE(WikiPage)[[[クライアント]]]], [CODE(WikiPage)[[[利用者エージェント]]]], [CODE(WikiPage)[[[サーバー]]]], [CODE(WikiPage)[[[起源サーバー]]]],[CODE(WikiPage)[[[串]]]], [CODE(WikiPage)[[[関門]]]], [CODE(WikiPage)[[[トンネル]]]], [CODE(WikiPage)[[[キャッシュ]]]] == 1.3 Overall Operation .................................... 6 == 1.4 HTTP and MIME ........................................ 8 --- 参考 : [CODE(WikiPage)[[[実体//HTTP実体とMIME実体]]]] = 2. Notational Conventions and Generic Grammar ................ 8 == 2.1 Augmented BNF ........................................ 8 --- 参考 : [CODE(WikiPage)[[[HTTPのABNF]]]] == 2.2 Basic Rules .......................................... 10 --- 和訳 : [CODE(WikiPage)[[[HTTP//メッセージ]]]] --- 参考 : [CODE(WikiPage)[[[token]]]], [CODE(WikiPage)[[[tspecials]]]], [CODE(WikiPage)[[[quoted-string]]]], [CODE(WikiPage)[[[comment]]]], [CODE(WikiPage)[[[ctext]]]] = 3. Protocol Parameters ....................................... 12 == 3.1 HTTP Version ......................................... 12 [CODE(WikiPage)[[[HTTP-Version]]]] == 3.2 Uniform Resource Identifiers ......................... 14 [CODE(WikiPage)[[[HTTP//URI]]]] === 3.2.1 General Syntax ................................ 14 === 3.2.2 http URL ...................................... 15 == 3.3 Date/Time Formats .................................... 15 --- 和訳 : [CODE(WikiPage)[[[HTTPの日付形式]]]] == 3.4 Character Sets ....................................... 17 [CODE(WikiPage)[[[charset//HTTP]]]] == 3.5 Content Codings ...................................... 18 [CODE(WikiPage)[[[内容符号化]]]] == 3.6 Media Types .......................................... 19 [CODE(WikiPage)[[[媒体型]]]] === 3.6.1 Canonicalization and Text Defaults ............ 19 [CODE(WikiPage)[[[text/*//正規化]]]] === 3.6.2 Multipart Types ............................... 20 [CODE(WikiPage)[[[multipart/*//HTTP]]]] == 3.7 Product Tokens ....................................... 20 = 4. HTTP Message .............................................. 21 == 4.1 Message Types ........................................ 21 == 4.2 Message Headers ...................................... 22 == 4.3 General Header Fields ................................ 23 = 5. Request ................................................... 23 == 5.1 Request-Line ......................................... 23 === 5.1.1 Method ........................................ 24 === 5.1.2 Request-URI ................................... 24 == 5.2 Request Header Fields ................................ 25 = 6. Response .................................................. 25 == 6.1 Status-Line .......................................... 26 === 6.1.1 Status Code and Reason Phrase ................. 26 == 6.2 Response Header Fields ............................... 28 = 7. Entity .................................................... 28 == 7.1 Entity Header Fields ................................. 29 == 7.2 Entity Body .......................................... 29 === 7.2.1 Type .......................................... 29 === 7.2.2 Length ........................................ 30 = 8. Method Definitions ........................................ 30 == 8.1 GET .................................................. 31 == 8.2 HEAD ................................................. 31 == 8.3 POST ................................................. 31 = 9. Status Code Definitions ................................... 32 == 9.1 Informational 1xx .................................... 32 ---[CODE(WikiPage)[[[1xx]]]] == 9.2 Successful 2xx ....................................... 32 ---[CODE(WikiPage)[[[200]]]], [CODE(WikiPage)[[[201]]]], [CODE(WikiPage)[[[202]]]], [CODE(WikiPage)[[[204]]]] == 9.3 Redirection 3xx ...................................... 34 --- [CODE(WikiPage)[[[3xx]]]], [CODE(WikiPage)[[[300]]]], [CODE(WikiPage)[[[301]]]], [CODE(WikiPage)[[[302]]]] == 9.4 Client Error 4xx ..................................... 35 ---[CODE(WikiPage)[[[4xx]]]], [CODE(WikiPage)[[[400]]]], [CODE(WikiPage)[[[401]]]], [CODE(WikiPage)[[[403]]]], [CODE(WikiPage)[[[404]]]] == 9.5 Server Error 5xx ..................................... 37 ---[CODE(WikiPage)[[[5xx]]]], [CODE(WikiPage)[[[500]]]], [CODE(WikiPage)[[[501]]]], [CODE(WikiPage)[[[502]]]], [CODE(WikiPage)[[[503]]]] = 10. Header Field Definitions .................................. 37 == 10.1 [[Allow]] ............................................... 38 == 10.2 [[Authorization]] ....................................... 38 == 10.3 [[Content-Encoding]] .................................... 39 == 10.4 [[Content-Length]] ...................................... 39 == 10.5 Content-Type ........................................ 40 ---[CODE(WikiPage)[[[Content-Type//仕様書から]]]] == 10.6 [[Date]] ................................................ 40 == 10.7 [[Expires]] ............................................. 41 == 10.8 [[From]] ................................................ 42 == 10.9 [[If-Modified-Since]] ................................... 42 == 10.10 Last-Modified ....................................... 43 == 10.11 Location ............................................ 44 == 10.12 Pragma .............................................. 44 == 10.13 Referer ............................................. 44 == 10.14 Server .............................................. 45 == 10.15 User-Agent .......................................... 46 == 10.16 WWW-Authenticate .................................... 46 = 11. Access Authentication ..................................... 47 == 11.1 Basic Authentication Scheme ......................... 48 = 12. Security Considerations ................................... 49 == 12.1 Authentication of Clients ........................... 49 == 12.2 Safe Methods ........................................ 49 == 12.3 Abuse of Server Log Information ..................... 50 == 12.4 Transfer of Sensitive Information ................... 50 == 12.5 Attacks Based On File and Path Names ................ 51 = 13. Acknowledgments ........................................... 51 = 14. References ................................................ 52 = 15. Authors' Addresses ........................................ 54 = Appendix A. Internet Media Type message/http ................ 55 = Appendix B. Tolerant Applications ........................... 55 = Appendix C. Relationship to MIME ............................ 56 == C.1 Conversion to Canonical Form ......................... 56 == C.2 Conversion of Date Formats ........................... 57 == C.3 Introduction of Content-Encoding ..................... 57 == C.4 No Content-Transfer-Encoding ......................... 57 == C.5 HTTP Header Fields in Multipart Body-Parts ........... 57 = Appendix D. Additional Features ............................. 57 == D.1 Additional Request Methods ........................... 58 === D.1.1 PUT ........................................... 58 === D.1.2 DELETE ........................................ 58 === D.1.3 LINK .......................................... 58 === D.1.4 UNLINK ........................................ 58 == D.2 Additional Header Field Definitions .................. 58 === D.2.1 [[Accept]] ........................................ 58 === D.2.2 [[Accept-Charset]] ................................ 59 === D.2.3 [[Accept-Encoding]] ............................... 59 === D.2.4 [[Accept-Language]] ............................... 59 === D.2.5 [[Content-Language]] .............................. 59 === D.2.6 [[Link]] .......................................... 59 === D.2.7 MIME-Version .................................. 59 === D.2.8 Retry-After ................................... 60 === D.2.9 Title ......................................... 60 === D.2.10 URI ........................................... 60 ----[CODE(WikiPage)[[[URI:]]]]