{"id":99571,"date":"2024-11-28T17:18:22","date_gmt":"2024-11-28T09:18:22","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=99571"},"modified":"2024-11-28T17:18:26","modified_gmt":"2024-11-28T09:18:26","slug":"cwbcsxyssmys","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/99571.html","title":{"rendered":"\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae\u662f\u4ec0\u4e48\u610f\u601d"},"content":{"rendered":"\n

\u3000\u3000\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae(HyperText Transfer Protocol\uff0cHTTP)<\/strong>\u662f\u4e00\u79cd\u5e94\u7528\u5c42\u534f\u8bae\uff0c\u7528\u4e8e\u5728\u5ba2\u6237\u7aef(\u5982Web\u6d4f\u89c8\u5668)\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u4f20\u8f93\u8d85\u6587\u672c\u6570\u636e\u3002HTTP\u5b9a\u4e49\u4e86\u6d4f\u89c8\u5668\u5982\u4f55\u5411\u4e07\u7ef4\u7f51\u670d\u52a1\u5668\u8bf7\u6c42\u6587\u6863\uff0c\u4ee5\u53ca\u670d\u52a1\u5668\u5982\u4f55\u54cd\u5e94\u8fd9\u4e9b\u8bf7\u6c42\u7684\u8fc7\u7a0b\u3002<\/p>\n\n\n\n

\u3000\u3000HTTP\u534f\u8bae\u57fa\u4e8eTCP\/IP\u534f\u8bae\u65cf\uff0c\u901a\u5e38\u8fd0\u884c\u5728TCP\u4e4b\u4e0a\uff0c\u4f7f\u752880\u7aef\u53e3\u8fdb\u884c\u901a\u4fe1\u3002\u5b83\u91c7\u7528\u8bf7\u6c42-\u54cd\u5e94\u6a21\u5f0f\u5de5\u4f5c\uff0c\u5ba2\u6237\u7aef\u901a\u8fc7\u53d1\u9001HTTP\u8bf7\u6c42\u6765\u83b7\u53d6\u8d44\u6e90\uff0c\u670d\u52a1\u5668\u5219\u8fd4\u56de\u76f8\u5e94\u7684\u54cd\u5e94\u3002HTTP\u534f\u8bae\u4e0d\u4ec5\u652f\u6301\u6587\u672c\u5185\u5bb9\u7684\u4f20\u8f93\uff0c\u8fd8\u80fd\u591f\u4f20\u8f93\u5305\u62ec\u56fe\u7247\u3001\u97f3\u9891\u3001\u89c6\u9891\u7b49\u591a\u5a92\u4f53\u6587\u4ef6\u3002<\/p>\n\n\n\n

\u3000\u3000HTTP\u534f\u8bae\u6700\u521d\u7531Tim Berners-Lee\u4e8e1989\u5e74\u63d0\u51fa\uff0c\u76ee\u7684\u662f\u4e3a\u4e86\u5b9e\u73b0HTML\u6587\u6863\u7684\u4f20\u8f93\u548c\u5c55\u793a\u3002HTTP\u534f\u8bae\u7684\u8bbe\u8ba1\u4f7f\u5f97Web\u9875\u9762\u53ef\u4ee5\u901a\u8fc7\u8d85\u94fe\u63a5\u76f8\u4e92\u8fde\u63a5\uff0c\u5f62\u6210\u4e00\u4e2a\u590d\u6742\u7684\u7f51\u72b6\u7ed3\u6784\uff0c\u4ece\u800c\u5b9e\u73b0\u4e86\u975e\u7ebf\u6027\u7684\u4fe1\u606f\u6d4f\u89c8\u65b9\u5f0f\u3002<\/p>\n\n\n\n

\u3000\u3000HTTP\u534f\u8bae\u662f\u4e92\u8054\u7f51\u4e0a\u5e94\u7528\u6700\u5e7f\u6cdb\u7684\u534f\u8bae\u4e4b\u4e00\uff0c\u662f\u4e07\u7ef4\u7f51\u6570\u636e\u901a\u4fe1\u7684\u57fa\u7840\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e00\u3001 HTTP\u534f\u8bae\u7684\u5386\u53f2\u53d1\u5c55\u548c\u7248\u672c\u6f14\u8fdb\u662f\u4ec0\u4e48?<\/h2>\n\n\n\n

\u3000\u3000HTTP(\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae)\u81ea1990\u5e74\u4ee3\u521d\u8bde\u751f\u4ee5\u6765\uff0c\u7ecf\u5386\u4e86\u591a\u6b21\u91cd\u8981\u7684\u7248\u672c\u6f14\u8fdb\uff0c\u4ee5\u9002\u5e94\u4e0d\u65ad\u53d8\u5316\u7684\u7f51\u7edc\u9700\u6c42\u548c\u63d0\u5347\u6027\u80fd\u3002\u4ee5\u4e0b\u662fHTTP\u534f\u8bae\u7684\u5386\u53f2\u53d1\u5c55\u548c\u7248\u672c\u6f14\u8fdb\u7684\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/p>\n\n\n\n

\u3000\u30001. HTTP\/0.9<\/strong>\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u53d1\u5e03\u65f6\u95f4<\/strong>\uff1a1991\u5e74\u3002<\/p>\n\n\n\n

\u3000\u3000\u7279\u70b9<\/strong>\uff1a\u8fd9\u662fHTTP\u534f\u8bae\u7684\u6700\u521d\u7248\u672c\uff0c\u975e\u5e38\u7b80\u5355\uff0c\u4ec5\u652f\u6301GET\u65b9\u6cd5\uff0c\u6ca1\u6709\u8bf7\u6c42\u5934\u548c\u54cd\u5e94\u5934\uff0c\u4e3b\u8981\u7528\u4e8e\u83b7\u53d6HTML\u6587\u672c\u3002\u670d\u52a1\u5668\u5728\u53d1\u9001\u54cd\u5e94\u540e\u7acb\u5373\u5173\u95ed\u8fde\u63a5\u3002<\/p>\n\n\n\n

\u3000\u30002. HTTP\/1.0<\/strong>\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u53d1\u5e03\u65f6\u95f4<\/strong>\uff1a1996\u5e74\u3002<\/p>\n\n\n\n

\u3000\u3000\u7279\u70b9<\/strong>\uff1a\u8fd9\u662fHTTP\u7684\u7b2c\u4e00\u4e2a\u5b98\u65b9\u7248\u672c\uff0c\u5f15\u5165\u4e86\u8bb8\u591a\u65b0\u529f\u80fd\uff0c\u5982POST\u548cPUT\u65b9\u6cd5\uff0c\u589e\u52a0\u4e86\u8bf7\u6c42\u5934\u548c\u54cd\u5e94\u5934\uff0c\u72b6\u6001\u7801\u7b49\u4fe1\u606f\u3002\u5c3d\u7ba1\u7cfb\u7edf\u8fde\u63a5\u4fdd\u6301\u4e0d\u53d8\uff0c\u4f46\u81ea\u54cd\u5e94\u53d1\u9001\u4ee5\u6765\uff0c\u670d\u52a1\u5668\u5c31\u4f1a\u7acb\u5373\u5173\u95ed\u8fde\u63a5\u3002<\/p>\n\n\n\n

\u3000\u30003. HTTP\/1.1<\/strong>\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u53d1\u5e03\u65f6\u95f4<\/strong>\uff1a1997\u5e74\u3002<\/p>\n\n\n\n

\u3000\u3000\u7279\u70b9<\/strong>\uff1aHTTP\/1.1\u5f15\u5165\u4e86\u6301\u4e45\u8fde\u63a5(keep-alive)\uff0c\u5141\u8bb8\u591a\u4e2a\u8bf7\u6c42\u5171\u7528\u4e00\u4e2aTCP\u8fde\u63a5\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u6548\u7387\u3002\u6b64\u5916\uff0c\u8fd8\u589e\u52a0\u4e86\u7ba1\u9053\u6280\u672f\u3001\u6761\u4ef6\u8bf7\u6c42\u3001\u7f13\u5b58\u673a\u5236\u7b49\u3002\u8fd9\u4e00\u7248\u672c\u6210\u4e3a\u4e86\u76ee\u524d\u6700\u4e3b\u6d41\u7684HTTP\u7248\u672c\u3002<\/p>\n\n\n\n

\u3000\u30004. HTTP\/2<\/strong>\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u53d1\u5e03\u65f6\u95f4<\/strong>\uff1a2015\u5e74\u3002<\/p>\n\n\n\n

\u3000\u3000\u7279\u70b9<\/strong>\uff1aHTTP\/2\u901a\u8fc7\u4e8c\u8fdb\u5236\u6570\u636e\u4f20\u8f93\u3001\u591a\u8def\u590d\u7528\u3001\u5934\u90e8\u538b\u7f29\u548c\u670d\u52a1\u5668\u63a8\u9001\u7b49\u6280\u672f\u663e\u8457\u63d0\u9ad8\u4e86\u6027\u80fd\u3002\u5b83\u89e3\u51b3\u4e86HTTP\/1.0\u7248\u672c\u4e2d\u8fde\u63a5\u7acb\u5373\u7ec8\u6b62\u7684\u95ee\u9898\uff0c\u5e76\u8fdb\u4e00\u6b65\u4f18\u5316\u4e86\u4f20\u8f93\u6548\u7387\u3002<\/p>\n\n\n\n

\u3000\u30005. HTTP\/3<\/strong>\uff1a<\/h3>\n\n\n\n

\u3000\u3000\u53d1\u5e03\u65f6\u95f4<\/strong>\uff1a2020\u5e74\u3002<\/p>\n\n\n\n

\u3000\u3000\u7279\u70b9<\/strong>\uff1aHTTP\/3\u65e8\u5728\u89e3\u51b3HTTP\/2\u7684\u4e00\u4e9b\u95ee\u9898\uff0c\u5982\u63a8\u9001\u673a\u5236\u7684\u4e0d\u8db3\uff0c\u5e76\u63d0\u4f9b\u66f4\u597d\u7684\u7528\u6237\u4f53\u9a8c\u3002\u5b83\u8ba1\u5212\u4f7f\u7528UDP\u4ee3\u66ffTCP\u8fdb\u884c\u4f20\u8f93\uff0c\u4ee5\u8fdb\u4e00\u6b65\u63d0\u9ad8\u4f20\u8f93\u6548\u7387\u548c\u53ef\u9760\u6027\u3002<\/p>\n\n\n\n

\u3000\u3000\u4e8c\u3001 HTTP\u534f\u8bae\u4e0eHTTPS\u534f\u8bae\u6709\u4f55\u533a\u522b\uff0c\u4ee5\u53caHTTPS\u662f\u5982\u4f55\u589e\u5f3a\u7f51\u7edc\u5b89\u5168\u7684?<\/h2>\n\n\n\n

\u3000\u3000HTTP(\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae)\u548cHTTPS(\u8d85\u6587\u672c\u4f20\u8f93\u5b89\u5168\u534f\u8bae)\u662f\u4e24\u79cd\u4e0d\u540c\u7684\u7f51\u7edc\u534f\u8bae\uff0c\u4e3b\u8981\u533a\u522b\u5728\u4e8e\u5b89\u5168\u6027\u3002HTTP\u662f\u4e00\u79cd\u65e0\u72b6\u6001\u7684\u534f\u8bae\uff0c\u4fe1\u606f\u4ee5\u660e\u6587\u5f62\u5f0f\u4f20\u8f93\uff0c\u5b89\u5168\u6027\u8f83\u4f4e\uff0c\u5bb9\u6613\u88ab\u7a83\u542c\u6216\u7be1\u6539\u3002\u800cHTTPS\u5219\u662f\u5728HTTP\u7684\u57fa\u7840\u4e0a\u52a0\u5165\u4e86SSL\/TLS\u52a0\u5bc6\u6280\u672f\uff0c\u786e\u4fdd\u6570\u636e\u5728\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u7684\u673a\u5bc6\u6027\u548c\u5b8c\u6574\u6027\u3002<\/p>\n\n\n\n

\u3000\u3000HTTPS\u901a\u8fc7SSL\/TLS\u534f\u8bae\u63d0\u4f9b\u6bd4HTTP\u66f4\u9ad8\u7ea7\u522b\u7684\u5b89\u5168\u4fdd\u62a4\u3002SSL\/TLS\u534f\u8bae\u4f7f\u7528\u5bf9\u79f0\u52a0\u5bc6\u548c\u516c\u94a5\u52a0\u5bc6\u7cfb\u7edf\uff0c\u8fd9\u4e9b\u7cfb\u7edf\u5728\u4fe1\u606f\u4f20\u8f93\u4e2d\u63d0\u4f9b\u4e86\u989d\u5916\u7684\u4fdd\u62a4\u5c42\u3002\u5177\u4f53\u6765\u8bf4\uff0cHTTPS\u5229\u7528\u4f20\u8f93\u5c42\u5b89\u5168\u6027(TLS)\uff0c\u4e5f\u79f0\u4e3a\u5b89\u5168\u5957\u63a5\u5b57\u5c42(SSL)\uff0c\u91c7\u7528\u975e\u5bf9\u79f0\u516c\u94a5\u57fa\u7840\u8bbe\u65bd\uff0c\u4f7f\u7528\u4e24\u4e2a\u5bc6\u94a5\uff1a\u79c1\u94a5\u548c\u516c\u94a5\u3002\u79c1\u94a5\u5b58\u50a8\u5728\u7f51\u7ad9\u6240\u6709\u8005\u62e5\u6709\u7684\u7f51\u9875\u670d\u52a1\u5668\u4e0a\uff0c\u7528\u4e8e\u89e3\u5bc6\u4f7f\u7528\u516c\u94a5\u52a0\u5bc6\u7684\u4fe1\u606f;\u516c\u94a5\u53ef\u4f9b\u6240\u6709\u4eba\u8bbf\u95ee\uff0c\u5c06\u6570\u636e\u8f6c\u6362\u4e3a\u52a0\u5bc6\u683c\u5f0f\u3002<\/p>\n\n\n\n

\u3000\u3000\u6b64\u5916\uff0cHTTPS\u8fd8\u63d0\u4f9b\u4e86\u8eab\u4efd\u9a8c\u8bc1\u529f\u80fd\uff0c\u901a\u8fc7\u6570\u5b57\u8bc1\u4e66\u9a8c\u8bc1\u670d\u52a1\u5668\u7684\u8eab\u4efd\uff0c\u786e\u4fdd\u7528\u6237\u8fde\u63a5\u7684\u662f\u5408\u6cd5\u7684\u670d\u52a1\u5668\u3002\u8fd9\u79cd\u8eab\u4efd\u9a8c\u8bc1\u673a\u5236\u53ef\u4ee5\u9632\u6b62\u4e2d\u95f4\u4eba\u653b\u51fb\uff0c\u5373\u9632\u6b62\u7b2c\u4e09\u65b9\u62e6\u622a\u6216\u7be1\u6539\u7528\u6237\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u8d85\u6587\u672c\u4f20\u8f93\u534f\u8bae(HyperText Transfer Protocol\uff0cHTTP)\u662f\u4e00\u79cd\u5e94\u7528\u5c42\u534f\u8bae\uff0c\u7528\u4e8e\u5728\u5ba2\u6237\u7aef(\u5982Web\u6d4f\u89c8\u5668)\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u4f20\u8f93\u8d85\u6587\u672c\u6570\u636e\u3002HTTP\u5b9a\u4e49\u4e86\u6d4f\u89c8\u5668\u5982\u4f55\u5411\u4e07\u7ef4\u7f51\u670d\u52a1\u5668\u8bf7\u6c42\u6587\u6863<\/p>\n","protected":false},"author":1,"featured_media":98952,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[354],"class_list":["post-99571","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-wlxy"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/99571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=99571"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/99571\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/98952"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=99571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=99571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=99571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}