{"id":477527,"date":"2023-08-09T09:16:12","date_gmt":"2023-08-09T09:16:12","guid":{"rendered":""},"modified":"2023-09-05T11:14:52","modified_gmt":"2023-09-05T11:14:52","slug":"hyper-text-transfer-protocol-http","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/cn\/wiki\/hyper-text-transfer-protocol-http\/","title":{"rendered":"\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP)"},"content":{"rendered":"<p>\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u662f\u7528\u4e8e\u4e07\u7ef4\u7f51\u4e0a\u901a\u4fe1\u7684\u57fa\u672c\u534f\u8bae\u3002\u5b83\u4f5c\u4e3a Web \u6d4f\u89c8\u5668\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u6570\u636e\u901a\u4fe1\u7684\u57fa\u7840\uff0c\u652f\u6301\u68c0\u7d22\u548c\u663e\u793a Web \u5185\u5bb9\uff0c\u4f8b\u5982\u6587\u672c\u3001\u56fe\u50cf\u3001\u89c6\u9891\u548c\u5176\u4ed6\u8d44\u6e90\u3002 HTTP \u5728\u5851\u9020\u7528\u6237\u6d4f\u89c8\u4e92\u8054\u7f51\u7684\u4f53\u9a8c\u65b9\u9762\u53d1\u6325\u7740\u81f3\u5173\u91cd\u8981\u7684\u4f5c\u7528\u3002<\/p>\n<h2>\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u7684\u8d77\u6e90\u5386\u53f2\u53ca\u5176\u9996\u6b21\u63d0\u53ca\u3002<\/h2>\n<p>HTTP \u7684\u6839\u6e90\u53ef\u4ee5\u8ffd\u6eaf\u5230 20 \u4e16\u7eaa 80 \u5e74\u4ee3\u672b\uff0c\u5f53\u65f6\u82f1\u56fd\u8ba1\u7b97\u673a\u79d1\u5b66\u5bb6 Tim Berners-Lee \u63d0\u51fa\u4e86\u4e07\u7ef4\u7f51\u7684\u6982\u5ff5\u3002 1989\u5e743\u6708\uff0c\u4f2f\u7eb3\u65af\u00b7\u674e\u5728CERN\uff08\u6b27\u6d32\u6838\u7814\u7a76\u7ec4\u7ec7\uff09\u5de5\u4f5c\u671f\u95f4\u53d1\u8868\u4e86\u9898\u4e3a\u201c\u4fe1\u606f\u7ba1\u7406\uff1a\u4e00\u4e2a\u63d0\u6848\u201d\u7684\u63d0\u6848\u3002\u672c\u6587\u6863\u5f15\u5165\u4e86\u8d85\u94fe\u63a5\u7684\u6982\u5ff5\uff0c\u5b83\u5141\u8bb8\u7528\u6237\u4f7f\u7528\u7b80\u5355\u7684\u57fa\u4e8e\u6587\u672c\u7684\u754c\u9762\u5728\u5404\u79cd\u4fe1\u606f\u4e4b\u95f4\u5bfc\u822a\u3002<\/p>\n<p>\u968f\u7740\u4e07\u7ef4\u7f51\u7684\u53d1\u5c55\uff0cBerners-Lee \u5728 1991 \u5e74\u5f00\u53d1\u4e86 HTTP \u7684\u7b2c\u4e00\u4e2a\u7248\u672c\uff0c\u79f0\u4e3a HTTP\/0.9\u3002\u8fd9\u4e2a\u65e9\u671f\u7248\u672c\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u534f\u8bae\uff0c\u5141\u8bb8\u6d4f\u89c8\u5668\u4ece\u670d\u52a1\u5668\u8bf7\u6c42\u548c\u63a5\u6536 HTML \u6587\u6863\u3002\u591a\u5e74\u6765\uff0cHTTP \u7ecf\u5386\u4e86\u663e\u7740\u7684\u589e\u5f3a\uff0c\u6700\u7ec8\u5728 1996 \u5e74\u63a8\u51fa\u4e86 HTTP\/1.0\uff0c\u7136\u540e\u5728 1999 \u5e74\u63a8\u51fa\u4e86 HTTP\/1.1\u3002HTTP\/1.1 \u7684\u91c7\u7528\u5e26\u6765\u4e86\u6027\u80fd\u7684\u663e\u7740\u6539\u8fdb\u4ee5\u53ca\u4e3a\u591a\u4e2a\u8bf7\u6c42\u91cd\u7528\u8fde\u63a5\u7684\u80fd\u529b\uff0c\u4ece\u800c\u51cf\u5c11\u4e86\u5ef6\u8fdf\u5e76\u63d0\u9ad8\u4e86\u6574\u4f53\u6027\u80fd\u6548\u7387\u3002<\/p>\n<h2>\u6709\u5173\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u7684\u8be6\u7ec6\u4fe1\u606f\u3002\u5c55\u5f00\u4e3b\u9898\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP)\u3002<\/h2>\n<p>HTTP \u662f\u4e00\u79cd\u5728 TCP\/IP \u5957\u4ef6\u4e4b\u4e0a\u8fd0\u884c\u7684\u5e94\u7528\u5c42\u534f\u8bae\uff0c\u4e3a Web \u6d4f\u89c8\u5668\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u63d0\u4f9b\u6807\u51c6\u5316\u65b9\u5f0f\u3002\u5b83\u4f7f\u7528\u5ba2\u6237\u7aef-\u670d\u52a1\u5668\u6a21\u578b\uff0c\u5176\u4e2d\u5ba2\u6237\u7aef\uff08\u901a\u5e38\u662f Web \u6d4f\u89c8\u5668\uff09\u5411\u670d\u52a1\u5668\u53d1\u9001\u8bf7\u6c42\uff0c\u7136\u540e\u670d\u52a1\u5668\u5904\u7406\u8bf7\u6c42\u5e76\u53d1\u56de\u5305\u542b\u6240\u8bf7\u6c42\u5185\u5bb9\u7684\u54cd\u5e94\u3002<\/p>\n<p>\u5f53\u7528\u6237\u5728 Web \u6d4f\u89c8\u5668\u4e2d\u8f93\u5165 URL\uff08\u7edf\u4e00\u8d44\u6e90\u5b9a\u4f4d\u7b26\uff09\u5e76\u6309 Enter \u952e\u65f6\uff0c\u6d4f\u89c8\u5668\u4f1a\u5411\u6258\u7ba1\u6240\u9700\u5185\u5bb9\u7684\u670d\u52a1\u5668\u53d1\u8d77 HTTP \u8bf7\u6c42\u3002\u670d\u52a1\u5668\u5904\u7406\u8bf7\u6c42\u5e76\u53d1\u56de HTTP \u54cd\u5e94\uff0c\u5176\u4e2d\u5305\u62ec\u8bf7\u6c42\u7684\u5185\u5bb9\u548c\u76f8\u5173\u72b6\u6001\u4fe1\u606f\u3002\u7136\u540e\uff0cHTTP \u54cd\u5e94\u7531 Web \u6d4f\u89c8\u5668\u5448\u73b0\uff0c\u5141\u8bb8\u7528\u6237\u4e0e\u7f51\u9875\u4ea4\u4e92\u3002<\/p>\n<h2>\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u7684\u5185\u90e8\u7ed3\u6784\u3002\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u7684\u5de5\u4f5c\u539f\u7406\u3002<\/h2>\n<p>HTTP \u6d88\u606f\uff08\u5305\u62ec\u8bf7\u6c42\u548c\u54cd\u5e94\uff09\u7531\u6807\u5934\u548c\u53ef\u9009\u4e3b\u4f53\u7ec4\u6210\u3002\u6807\u5934\u5305\u542b\u952e\u503c\u5bf9\uff0c\u63d0\u4f9b\u6709\u5173\u6d88\u606f\u7684\u57fa\u672c\u4fe1\u606f\uff0c\u4f8b\u5982\u5185\u5bb9\u7c7b\u578b\u3001\u7f13\u5b58\u6307\u4ee4\u548c\u8eab\u4efd\u9a8c\u8bc1\u8be6\u7ec6\u4fe1\u606f\u3002\u8bf7\u6c42\u548c\u67d0\u4e9b\u54cd\u5e94\u4e2d\u7684\u6b63\u6587\u643a\u5e26\u5b9e\u9645\u5185\u5bb9\uff0c\u4f8b\u5982 HTML\u3001\u56fe\u50cf\u6216\u5404\u79cd\u683c\u5f0f\u7684\u6570\u636e\u3002<\/p>\n<p>HTTP \u4f7f\u7528\u5404\u79cd\u65b9\u6cd5\uff08\u4e5f\u79f0\u4e3a\u52a8\u8bcd\uff09\u6765\u5b9a\u4e49\u8bf7\u6c42\u7684\u76ee\u7684\u3002\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\uff1a<\/p>\n<ul>\n<li>GET\uff1a\u4ece\u670d\u52a1\u5668\u68c0\u7d22\u8d44\u6e90\u3002<\/li>\n<li>POST\uff1a\u63d0\u4ea4\u6570\u636e\u4ee5\u4f9b\u670d\u52a1\u5668\u5904\u7406\uff0c\u5e38\u7528\u4e8e\u8868\u5355\u4e2d\u3002<\/li>\n<li>PUT\uff1a\u66f4\u65b0\u6216\u66ff\u6362\u670d\u52a1\u5668\u4e0a\u7684\u8d44\u6e90\u3002<\/li>\n<li>\u5220\u9664\uff1a\u4ece\u670d\u52a1\u5668\u4e2d\u5220\u9664\u8d44\u6e90\u3002<\/li>\n<\/ul>\n<p>\u6b64\u5916\uff0c\u8fd8\u6709\u5176\u4ed6\u65b9\u6cd5\uff0c\u5982 HEAD\u3001OPTIONS\u3001PATCH \u7b49\uff0c\u6bcf\u79cd\u65b9\u6cd5\u5728\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u4e2d\u90fd\u6709\u7279\u5b9a\u7684\u7528\u9014\u3002<\/p>\n<p>HTTP \u8fd8\u652f\u6301\u72b6\u6001\u4ee3\u7801\u6765\u6307\u793a\u8bf7\u6c42\u7684\u7ed3\u679c\u3002\u4e00\u4e9b\u5e38\u89c1\u7684\u72b6\u6001\u4ee3\u7801\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>200 OK\uff1a\u8bf7\u6c42\u6210\u529f\uff0c\u670d\u52a1\u5668\u8fd4\u56de\u4e86\u8bf7\u6c42\u7684\u6570\u636e\u3002<\/li>\n<li>404 Not Found\uff1a\u5728\u670d\u52a1\u5668\u4e0a\u627e\u4e0d\u5230\u8bf7\u6c42\u7684\u8d44\u6e90\u3002<\/li>\n<li>500 \u5185\u90e8\u670d\u52a1\u5668\u9519\u8bef\uff1a\u670d\u52a1\u5668\u5728\u5904\u7406\u8bf7\u6c42\u65f6\u9047\u5230\u9519\u8bef\u3002<\/li>\n<\/ul>\n<p>\u6839\u636e\u5e95\u5c42\u4f20\u8f93\u534f\u8bae\uff0cHTTP \u53ef\u5206\u4e3a\u4e24\u79cd\u7c7b\u578b\uff1aHTTP over TCP \u548c HTTP over QUIC\uff08\u5feb\u901f UDP Internet \u8fde\u63a5\uff09\u3002 HTTP\/1.1 \u548c HTTP\/2 \u901a\u5e38\u4f7f\u7528 TCP \u4f5c\u4e3a\u4f20\u8f93\u534f\u8bae\uff0c\u800c\u6700\u65b0\u7248\u672c HTTP\/3 \u5219\u8bbe\u8ba1\u4e3a\u901a\u8fc7 QUIC \u5de5\u4f5c\uff0cQUIC \u662f Google \u5f00\u53d1\u7684\u57fa\u4e8e UDP \u7684\u534f\u8bae\u3002 HTTP\/3 \u65e8\u5728\u901a\u8fc7\u51cf\u5c11\u5ef6\u8fdf\u548c\u7f29\u77ed\u8fde\u63a5\u5efa\u7acb\u65f6\u95f4\u6765\u63d0\u9ad8\u6027\u80fd\uff0c\u5c24\u5176\u662f\u5728\u4e22\u5305\u7387\u8f83\u9ad8\u7684\u60c5\u51b5\u4e0b\u3002<\/p>\n<h2>\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u7684\u4e3b\u8981\u7279\u6027\u5206\u6790\u3002<\/h2>\n<p>HTTP \u62e5\u6709\u51e0\u4e2a\u5173\u952e\u7279\u6027\uff0c\u8fd9\u4e9b\u7279\u6027\u4f7f\u5176\u5f97\u5230\u5e7f\u6cdb\u91c7\u7528\u5e76\u4fdd\u6301\u957f\u4e45\u7684\u751f\u547d\u529b\uff1a<\/p>\n<ol>\n<li>\n<p><strong>\u65e0\u56fd\u7c4d\u72b6\u6001<\/strong>\uff1aHTTP \u662f\u65e0\u72b6\u6001\u7684\uff0c\u8fd9\u610f\u5473\u7740\u4ece\u5ba2\u6237\u7aef\u5230\u670d\u52a1\u5668\u7684\u6bcf\u4e2a\u8bf7\u6c42\u90fd\u662f\u72ec\u7acb\u7684\uff0c\u5e76\u4e14\u4e0d\u643a\u5e26\u6709\u5173\u5148\u524d\u8bf7\u6c42\u7684\u4efb\u4f55\u4fe1\u606f\u3002\u8fd9\u79cd\u8bbe\u8ba1\u7b80\u5316\u4e86\u670d\u52a1\u5668\u5b9e\u73b0\u5e76\u5b9e\u73b0\u4e86\u66f4\u597d\u7684\u53ef\u6269\u5c55\u6027\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5e73\u53f0\u72ec\u7acb\u6027<\/strong>\uff1aHTTP \u662f\u5e73\u53f0\u65e0\u5173\u7684\uff0c\u5141\u8bb8\u8fd0\u884c\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u548c\u4f53\u7cfb\u7ed3\u6784\u4e0a\u7684\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u53ef\u6269\u5c55\u6027<\/strong>\uff1aHTTP \u5141\u8bb8\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6807\u5934\u548c\u65b9\u6cd5\uff0c\u4ece\u800c\u53ef\u4ee5\u8f7b\u677e\u6269\u5c55\u5176\u529f\u80fd\u4ee5\u6ee1\u8db3\u7279\u5b9a\u9700\u6c42\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u7f13\u5b58<\/strong>\uff1aHTTP \u652f\u6301\u7f13\u5b58\u673a\u5236\uff0c\u4f7f Web \u6d4f\u89c8\u5668\u80fd\u591f\u5728\u672c\u5730\u5b58\u50a8\u9891\u7e41\u8bf7\u6c42\u7684\u8d44\u6e90\uff0c\u4ece\u800c\u51cf\u5c11\u91cd\u590d\u4e0b\u8f7d\u7684\u9700\u8981\u5e76\u7f29\u77ed\u9875\u9762\u52a0\u8f7d\u65f6\u95f4\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u4ee3\u7406\u652f\u6301<\/strong>\uff1aHTTP \u4e0e\u4ee3\u7406\u670d\u52a1\u5668\u517c\u5bb9\uff0c\u4ee3\u7406\u670d\u52a1\u5668\u5145\u5f53\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u4e2d\u4ecb\uff0c\u901a\u8fc7\u7f13\u5b58\u548c\u8d1f\u8f7d\u5e73\u8861\u589e\u5f3a\u5b89\u5168\u6027\u5e76\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u7684\u7c7b\u578b<\/h2>\n<p>HTTP \u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u4e0d\u65ad\u53d1\u5c55\uff0c\u4ea7\u751f\u4e86\u5177\u6709\u4e0d\u540c\u529f\u80fd\u7684\u4e0d\u540c\u7248\u672c\u3002\u6700\u503c\u5f97\u6ce8\u610f\u7684\u7248\u672c\u5305\u62ec\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>HTTP\u7248\u672c<\/th>\n<th>\u53d1\u5e03\u5e74\u4efd<\/th>\n<th>\u4e3b\u8981\u7279\u5f81<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>HTTP\/0.9<\/td>\n<td>1991<\/td>\n<td>\u534f\u8bae\u7b80\u5355\uff0c\u5141\u8bb8\u68c0\u7d22 HTML \u6587\u6863<\/td>\n<\/tr>\n<tr>\n<td>HTTP\/1.0<\/td>\n<td>1996<\/td>\n<td>\u5f15\u5165\u4e86\u6807\u5934\u3001\u72b6\u6001\u4ee3\u7801\u548c\u7248\u672c\u63a7\u5236<\/td>\n<\/tr>\n<tr>\n<td>HTTP\/1.1<\/td>\n<td>1999<\/td>\n<td>\u8fde\u63a5\u91cd\u7528\u3001\u5206\u5757\u4f20\u8f93\u7f16\u7801\u548c\u4e3b\u673a\u5934<\/td>\n<\/tr>\n<tr>\n<td>HTTP\/2<\/td>\n<td>2015<\/td>\n<td>\u591a\u8def\u590d\u7528\u3001\u670d\u52a1\u5668\u63a8\u9001\u3001\u6807\u5934\u538b\u7f29<\/td>\n<\/tr>\n<tr>\n<td>HTTP\/3<\/td>\n<td>2020<\/td>\n<td>\u57fa\u4e8e QUIC \u6784\u5efa\uff0c\u63d0\u9ad8\u4e86\u6027\u80fd\u548c\u5b89\u5168\u6027<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u4f7f\u7528\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u7684\u65b9\u6cd5\u3001\u95ee\u9898\u4ee5\u53ca\u4e0e\u4f7f\u7528\u76f8\u5173\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/h2>\n<p>HTTP \u4e3b\u8981\u7528\u4e8e Web \u6d4f\u89c8\uff0c\u4f7f\u7528\u6237\u80fd\u591f\u8bbf\u95ee\u7f51\u7ad9\u3001\u67e5\u770b\u5185\u5bb9\u4ee5\u53ca\u4e0e Web \u5e94\u7528\u7a0b\u5e8f\u4ea4\u4e92\u3002\u7136\u800c\uff0cHTTP \u7684\u5e7f\u6cdb\u91c7\u7528\u4e5f\u4f7f\u5176\u9762\u4e34\u5404\u79cd\u6311\u6218\u548c\u6f5c\u5728\u95ee\u9898\uff1a<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u5168<\/strong>\uff1aHTTP \u4ee5\u7eaf\u6587\u672c\u65b9\u5f0f\u4f20\u8f93\u6570\u636e\uff0c\u56e0\u6b64\u5bb9\u6613\u53d7\u5230\u7a83\u542c\u548c\u4e2d\u95f4\u4eba\u653b\u51fb\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0cHTTPS\uff08HTTP Secure\uff09\u88ab\u5f15\u5165\uff0c\u4f7f\u7528 SSL\/TLS \u534f\u8bae\u5bf9\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8868\u73b0<\/strong>\uff1aHTTP\/1.1 \u6709\u5c40\u9650\u6027\uff0c\u4f8b\u5982\u961f\u5934\u963b\u585e\uff0c\u8fd9\u4f1a\u51cf\u6162\u9875\u9762\u52a0\u8f7d\u65f6\u95f4\u3002 HTTP\/2 \u548c HTTP\/3 \u901a\u8fc7\u5f15\u5165\u591a\u8def\u590d\u7528\u3001\u670d\u52a1\u5668\u63a8\u9001\u548c\u6807\u5934\u538b\u7f29\u7b49\u529f\u80fd\u89e3\u51b3\u4e86\u8fd9\u4e9b\u95ee\u9898\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u7f13\u5b58\u548c\u5185\u5bb9\u4ea4\u4ed8<\/strong>\uff1aHTTP \u7f13\u5b58\u6709\u65f6\u4f1a\u5bfc\u81f4\u5411\u7528\u6237\u63d0\u4f9b\u8fc7\u65f6\u7684\u5185\u5bb9\u3002\u5185\u5bb9\u4ea4\u4ed8\u7f51\u7edc (CDN) \u7528\u4e8e\u5728\u5168\u7403\u591a\u4e2a\u670d\u52a1\u5668\u4e4b\u95f4\u5206\u53d1\u5185\u5bb9\uff0c\u4ece\u800c\u51cf\u5c11\u5ef6\u8fdf\u5e76\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8d1f\u8f7d\u5747\u8861<\/strong>\uff1a\u9ad8\u6d41\u91cf\u7f51\u7ad9\u53ef\u80fd\u4f1a\u4f7f\u7528\u8d1f\u8f7d\u5e73\u8861\u5668\u5728\u591a\u4e2a\u670d\u52a1\u5668\u4e4b\u95f4\u5206\u914d\u4f20\u5165\u8bf7\u6c42\uff0c\u4ee5\u786e\u4fdd\u66f4\u597d\u7684\u8d44\u6e90\u5229\u7528\u7387\u548c\u6539\u8fdb\u7684\u54cd\u5e94\u65f6\u95f4\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u4ee5\u8868\u683c\u548c\u5217\u8868\u7684\u5f62\u5f0f\u5217\u51fa\u4e3b\u8981\u7279\u5f81\u4ee5\u53ca\u4e0e\u7c7b\u4f3c\u672f\u8bed\u7684\u5176\u4ed6\u6bd4\u8f83\u3002<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7279\u5f81<\/th>\n<th>HTTP<\/th>\n<th>HTTPS<\/th>\n<th>FTP\uff08\u6587\u4ef6\u4f20\u8f93\u534f\u8bae\uff09<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u534f\u8bae\u7c7b\u578b<\/td>\n<td>\u5e94\u7528\u5c42<\/td>\n<td>\u5e94\u7528\u5c42<\/td>\n<td>\u5e94\u7528\u5c42<\/td>\n<\/tr>\n<tr>\n<td>\u7aef\u53e3\u53f7<\/td>\n<td>80\uff08\u9ed8\u8ba4\uff09<\/td>\n<td>443\uff08\u9ed8\u8ba4\uff09<\/td>\n<td>21\uff08\u9ed8\u8ba4\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u5b89\u5168<\/td>\n<td>\u672a\u52a0\u5bc6<\/td>\n<td>\u4f7f\u7528 SSL\/TLS \u52a0\u5bc6<\/td>\n<td>\u672a\u52a0\u5bc6<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u4f20\u8f93\u7c7b\u578b<\/td>\n<td>\u6587\u672c\u548c\u4e8c\u8fdb\u5236<\/td>\n<td>\u52a0\u5bc6\u6587\u672c\u548c\u4e8c\u8fdb\u5236<\/td>\n<td>\u6587\u672c\u548c\u4e8c\u8fdb\u5236<\/td>\n<\/tr>\n<tr>\n<td>\u76ee\u7684<\/td>\n<td>\u7f51\u9875\u6d4f\u89c8\u548c\u6570\u636e\u4f20\u8f93<\/td>\n<td>\u5b89\u5168\u7684\u7f51\u7edc\u6d4f\u89c8<\/td>\n<td>\u6587\u4ef6\u4f20\u8f93<\/td>\n<\/tr>\n<tr>\n<td>\u8054\u7cfb<\/td>\n<td>\u65e0\u56fd\u7c4d<\/td>\n<td>\u65e0\u56fd\u7c4d<\/td>\n<td>\u65e0\u56fd\u7c4d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u4e0e\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u76f8\u5173\u7684\u672a\u6765\u524d\u666f\u548c\u6280\u672f\u3002<\/h2>\n<p>HTTP \u7684\u672a\u6765\u4e0e\u5176\u6700\u65b0\u7248\u672c HTTP\/3 \u5bc6\u5207\u76f8\u5173\uff0c\u8be5\u7248\u672c\u65e8\u5728\u589e\u5f3a Web \u6027\u80fd\u548c\u5b89\u5168\u6027\u3002\u968f\u7740 HTTP\/3 \u7684\u5e7f\u6cdb\u91c7\u7528\uff0c\u6211\u4eec\u53ef\u4ee5\u671f\u5f85 Web \u6d4f\u89c8\u4f53\u9a8c\u7684\u6539\u5584\uff0c\u7279\u522b\u662f\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u548c\u4e22\u5305\u7387\u8f83\u9ad8\u7684\u5730\u533a\u3002<\/p>\n<p>HTTP\/3 \u8fd8\u901a\u8fc7\u4f7f\u7528 QUIC \u7684\u591a\u8def\u590d\u7528\u548c\u65e0\u8fde\u63a5\u529f\u80fd\u89e3\u51b3\u4e86 HTTP\/2 \u9762\u4e34\u7684\u4e00\u4e9b\u6311\u6218\uff0c\u4f8b\u5982\u961f\u5934\u963b\u585e\u3002\u968f\u7740\u4e92\u8054\u7f51\u7684\u4e0d\u65ad\u53d1\u5c55\uff0cHTTP\/3 \u5f88\u53ef\u80fd\u6210\u4e3a Web \u901a\u4fe1\u7684\u4e3b\u5bfc\u534f\u8bae\u3002<\/p>\n<h2>\u5982\u4f55\u4f7f\u7528\u4ee3\u7406\u670d\u52a1\u5668\u6216\u5c06\u5176\u4e0e\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u5173\u8054\u3002<\/h2>\n<p>\u4ee3\u7406\u670d\u52a1\u5668\u5728\u7ba1\u7406\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u7684 HTTP \u6d41\u91cf\u65b9\u9762\u53d1\u6325\u7740\u81f3\u5173\u91cd\u8981\u7684\u4f5c\u7528\u3002\u5b83\u4eec\u5145\u5f53\u4e2d\u4ecb\uff0c\u5c06\u8bf7\u6c42\u4ece\u5ba2\u6237\u7aef\u8f6c\u53d1\u5230\u670d\u52a1\u5668\uff0c\u5e76\u5c06\u54cd\u5e94\u4ece\u670d\u52a1\u5668\u8fd4\u56de\u5230\u5ba2\u6237\u7aef\u3002\u4ee3\u7406\u670d\u52a1\u5668\u53ef\u7528\u4e8e\uff1a<\/p>\n<ol>\n<li>\n<p><strong>\u7f13\u5b58<\/strong>\uff1a\u4ee3\u7406\u53ef\u4ee5\u7f13\u5b58\u9891\u7e41\u8bf7\u6c42\u7684\u5185\u5bb9\uff0c\u51cf\u5c11\u670d\u52a1\u5668\u8d1f\u8f7d\u5e76\u7f29\u77ed\u540e\u7eed\u8bf7\u6c42\u7684\u54cd\u5e94\u65f6\u95f4\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u533f\u540d<\/strong>\uff1a\u4ee3\u7406\u53ef\u4ee5\u63a9\u76d6\u5ba2\u6237\u7aef\u7684\u8eab\u4efd\uff0c\u4e3a\u6d4f\u89c8\u7f51\u9875\u7684\u7528\u6237\u63d0\u4f9b\u533f\u540d\u6027\u548c\u9690\u79c1\u6027\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5185\u5bb9\u8fc7\u6ee4<\/strong>\uff1a\u4ee3\u7406\u53ef\u4ee5\u914d\u7f6e\u4e3a\u963b\u6b62\u5bf9\u7279\u5b9a\u7f51\u7ad9\u6216\u5185\u5bb9\u7c7b\u522b\u7684\u8bbf\u95ee\uff0c\u4f7f\u5176\u6709\u52a9\u4e8e\u5728\u7ec4\u7ec7\u4e2d\u6267\u884c\u5b89\u5168\u7b56\u7565\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8d1f\u8f7d\u5747\u8861<\/strong>\uff1a\u4ee3\u7406\u53ef\u4ee5\u8de8\u591a\u4e2a\u540e\u7aef\u670d\u52a1\u5668\u5206\u53d1\u4f20\u5165\u8bf7\u6c42\uff0c\u786e\u4fdd\u9ad8\u6548\u7684\u8d44\u6e90\u5229\u7528\u548c\u66f4\u597d\u7684\u6027\u80fd\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbf\u95ee\u63a7\u5236<\/strong>\uff1a\u4ee3\u7406\u53ef\u4ee5\u6839\u636eIP\u5730\u5740\u6216\u7528\u6237\u8eab\u4efd\u9a8c\u8bc1\u9650\u5236\u5bf9\u67d0\u4e9b\u7f51\u7ad9\u6216\u8d44\u6e90\u7684\u8bbf\u95ee\uff0c\u589e\u5f3a\u7f51\u7edc\u5b89\u5168\u6027\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u76f8\u5173\u94fe\u63a5<\/h2>\n<p>\u6709\u5173\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u7684\u66f4\u591a\u4fe1\u606f\uff0c\u60a8\u53ef\u4ee5\u53c2\u8003\u4ee5\u4e0b\u8d44\u6e90\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/tools.ietf.org\/html\/rfc2616\" target=\"_new\" rel=\"noopener nofollow\">\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae \u2014 HTTP\/1.1 (RFC 2616)<\/a><\/li>\n<li><a href=\"https:\/\/tools.ietf.org\/html\/rfc7540\" target=\"_new\" rel=\"noopener nofollow\">\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae\u7248\u672c 2 (HTTP\/2) (RFC 7540)<\/a><\/li>\n<li><a href=\"https:\/\/tools.ietf.org\/html\/rfc8446\" target=\"_new\" rel=\"noopener nofollow\">\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae\u7248\u672c 3 (HTTP\/3) (RFC 8446)<\/a><\/li>\n<li><a href=\"https:\/\/blog.cloudflare.com\/http-3-vs-http-2\/\" target=\"_new\" rel=\"noopener nofollow\">HTTP\/3\uff1a\u4e92\u8054\u7f51\u534f\u8bae\u7684\u4e0b\u4e00\u6b65\u53d1\u5c55<\/a><\/li>\n<li><a href=\"https:\/\/www.cloudflare.com\/learning\/security\/glossary\/what-is-http\/\" target=\"_new\" rel=\"noopener nofollow\">HTTP \u7684\u6f14\u53d8\uff1a\u8fc7\u53bb\u3001\u73b0\u5728\u548c\u672a\u6765<\/a><\/li>\n<\/ul>\n<p>\u603b\u4e4b\uff0c\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae (HTTP) \u662f\u4e00\u79cd\u57fa\u672c\u534f\u8bae\uff0c\u5728\u5851\u9020\u4e07\u7ef4\u7f51\u4ee5\u53ca\u5f7b\u5e95\u6539\u53d8\u6211\u4eec\u5728\u7ebf\u8bbf\u95ee\u548c\u4ea4\u4e92\u4fe1\u606f\u7684\u65b9\u5f0f\u65b9\u9762\u53d1\u6325\u4e86\u5173\u952e\u4f5c\u7528\u3002\u4ece\u6700\u4e0d\u8d77\u773c\u7684\u5f00\u59cb\u5230\u6700\u65b0\u7684 HTTP\/3 \u7248\u672c\uff0c\u8be5\u534f\u8bae\u4e0d\u65ad\u53d1\u5c55\u4ee5\u6ee1\u8db3\u4e92\u8054\u7f51\u4e0d\u65ad\u53d8\u5316\u7684\u9700\u6c42\u3002\u968f\u7740\u6280\u672f\u7684\u8fdb\u6b65\uff0cHTTP\/3 \u53ca\u5176\u76f8\u5173\u6280\u672f\u5c06\u7ee7\u7eed\u4e3a\u66f4\u5feb\u3001\u66f4\u5b89\u5168\u548c\u65e0\u7f1d\u7684 Web \u4f53\u9a8c\u94fa\u5e73\u9053\u8def\uff0c\u4f7f HTTP \u6210\u4e3a\u6211\u4eec\u6570\u5b57\u751f\u6d3b\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\u3002<\/p>","protected":false},"featured_media":468589,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-477527","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>Hyper-Text Transfer Protocol (HTTP)<\/mark>","faq_items":[{"question":"What is Hyper-Text Transfer Protocol (HTTP)?","answer":"<p>Hyper-Text Transfer Protocol (HTTP) is a fundamental protocol used for communication on the World Wide Web. It enables data exchange between web browsers and servers, allowing users to access and interact with web content like text, images, videos, and more.<\/p>"},{"question":"How did HTTP originate, and when was it first mentioned?","answer":"<p>HTTP's origins can be traced back to the late 1980s when Tim Berners-Lee developed the concept of the World Wide Web. In 1991, he introduced the first version of HTTP (HTTP\/0.9), which allowed browsers to request and receive HTML documents. HTTP evolved through versions like HTTP\/1.0 (1996) and HTTP\/1.1 (1999) to HTTP\/3 (2020).<\/p>"},{"question":"How does HTTP work, and what is its internal structure?","answer":"<p>HTTP uses a client-server model, where a client (web browser) sends requests to a server hosting the content. Each HTTP message consists of a header and an optional body. The header contains essential information, and the body carries the actual content. HTTP uses methods like GET, POST, PUT, and more for specific purposes.<\/p>"},{"question":"What are the key features of HTTP?","answer":"<p>HTTP boasts several vital features, including statelessness, platform independence, extensibility, caching, and proxy support. These features ensure efficient and scalable communication between clients and servers.<\/p>"},{"question":"What are the different types of HTTP?","answer":"<p>HTTP has evolved into several versions, each with unique features. The notable ones are HTTP\/0.9, HTTP\/1.0, HTTP\/1.1, HTTP\/2, and the latest, HTTP\/3, which is built on the QUIC protocol.<\/p>"},{"question":"How is HTTP used, and what problems can arise?","answer":"<p>HTTP is primarily used for web browsing, but it has faced challenges such as security vulnerabilities, performance issues, caching problems, and load balancing. HTTPS addresses security concerns, and technologies like HTTP\/2 and HTTP\/3 improve performance.<\/p>"},{"question":"What are the perspectives and future technologies related to HTTP?","answer":"<p>The future of HTTP lies in HTTP\/3, which offers improved performance and security. As technology advances, HTTP\/3 is likely to become the dominant protocol for web communication, enhancing the browsing experience.<\/p>"},{"question":"How are proxy servers associated with HTTP?","answer":"<p>Proxy servers act as intermediaries between clients and servers, providing benefits like caching, anonymity, content filtering, load balancing, and access control. They enhance the security and performance of HTTP communication.<\/p>"},{"question":"Where can I find more information about Hyper-Text Transfer Protocol (HTTP)?","answer":"<p>For more in-depth knowledge about HTTP, you can refer to resources like RFC documents, articles about HTTP\/3, and discussions on its evolution and impact on web browsing.<\/p>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/wiki\/477527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/wiki\/477527\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/media\/468589"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/media?parent=477527"}],"curies":[{"name":"\u53ef\u6e7f\u6027\u7c89\u5242","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}