{"id":47052,"date":"2024-10-07T11:03:16","date_gmt":"2024-10-07T03:03:16","guid":{"rendered":"https:\/\/server.hk\/cnblog\/47052\/"},"modified":"2024-10-07T11:03:16","modified_gmt":"2024-10-07T03:03:16","slug":"iis%e7%8b%80%e6%85%8b%e7%a2%bc-416-range-not-satisfiable%ef%bc%88%e7%af%84%e5%9c%8d%e4%b8%8d%e6%bb%bf%e8%b6%b3%ef%bc%89","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/47052\/","title":{"rendered":"IIS\u72c0\u614b\u78bc &#8211; 416 Range Not Satisfiable\uff08\u7bc4\u570d\u4e0d\u6eff\u8db3\uff09"},"content":{"rendered":"<h1 id=\"iis%e7%8b%80%e6%85%8b%e7%a2%bc-416-range-not-satisfiable%ef%bc%88%e7%af%84%e5%9c%8d%e4%b8%8d%e6%bb%bf%e8%b6%b3%ef%bc%89-kvumREUVvQ\">IIS\u72c0\u614b\u78bc &#8211; 416 Range Not Satisfiable\uff08\u7bc4\u570d\u4e0d\u6eff\u8db3\uff09<\/h1>\n<p>\u5728\u7db2\u7d61\u61c9\u7528\u7a0b\u5e8f\u4e2d\uff0cHTTP\u72c0\u614b\u78bc\u662f\u7528\u4f86\u8868\u793a\u4f3a\u670d\u5668\u5c0d\u5ba2\u6236\u7aef\u8acb\u6c42\u7684\u8655\u7406\u7d50\u679c\u3002\u9019\u4e9b\u72c0\u614b\u78bc\u53ef\u4ee5\u5e6b\u52a9\u958b\u767c\u8005\u548c\u7cfb\u7d71\u7ba1\u7406\u54e1\u5feb\u901f\u4e86\u89e3\u8acb\u6c42\u7684\u72c0\u614b\u53ca\u5176\u53ef\u80fd\u7684\u554f\u984c\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eIIS\u72c0\u614b\u78bc416\uff0c\u5373\u201c\u7bc4\u570d\u4e0d\u6eff\u8db3\u201d\uff0c\u4e26\u5206\u6790\u5176\u6210\u56e0\u3001\u5f71\u97ff\u53ca\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<h2 id=\"%e4%bb%80%e9%ba%bc%e6%98%af416-range-not-satisfiable%ef%bc%9f-kvumREUVvQ\">\u4ec0\u9ebc\u662f416 Range Not Satisfiable\uff1f<\/h2>\n<p>HTTP\u72c0\u614b\u78bc416\u8868\u793a\u4f3a\u670d\u5668\u7121\u6cd5\u6eff\u8db3\u5ba2\u6236\u7aef\u8acb\u6c42\u4e2d\u7684\u7bc4\u570d\u8981\u6c42\u3002\u9019\u901a\u5e38\u767c\u751f\u5728\u5ba2\u6236\u7aef\u4f7f\u7528\u201cRange\u201d\u6a19\u982d\u8acb\u6c42\u90e8\u5206\u8cc7\u6e90\u6642\uff0c\u4f3a\u670d\u5668\u7121\u6cd5\u63d0\u4f9b\u6240\u8acb\u6c42\u7684\u7bc4\u570d\u3002\u6839\u64daHTTP\/1.1\u5354\u8b70\uff0c\u7576\u4f3a\u670d\u5668\u7121\u6cd5\u6eff\u8db3\u7bc4\u570d\u8acb\u6c42\u6642\uff0c\u61c9\u8fd4\u56de416\u72c0\u614b\u78bc\u3002<\/p>\n<h2 id=\"416%e7%8b%80%e6%85%8b%e7%a2%bc%e7%9a%84%e6%88%90%e5%9b%a0-kvumREUVvQ\">416\u72c0\u614b\u78bc\u7684\u6210\u56e0<\/h2>\n<p>416\u72c0\u614b\u78bc\u7684\u51fa\u73fe\u901a\u5e38\u6709\u4ee5\u4e0b\u5e7e\u500b\u539f\u56e0\uff1a<\/p>\n<ul>\n<li><strong>\u8acb\u6c42\u7bc4\u570d\u8d85\u51fa\u8cc7\u6e90\u5927\u5c0f\uff1a<\/strong>\u7576\u5ba2\u6236\u7aef\u8acb\u6c42\u7684\u7bc4\u570d\u8d85\u904e\u4e86\u8cc7\u6e90\u7684\u5be6\u969b\u5927\u5c0f\u6642\uff0c\u4f3a\u670d\u5668\u5c07\u7121\u6cd5\u6eff\u8db3\u8a72\u8acb\u6c42\u3002\u4f8b\u5982\uff0c\u82e5\u4e00\u500b\u6587\u4ef6\u7684\u5927\u5c0f\u70ba1000\u5b57\u7bc0\uff0c\u800c\u5ba2\u6236\u7aef\u8acb\u6c42\u7684\u7bc4\u570d\u70ba1000-2000\u5b57\u7bc0\uff0c\u5247\u4f3a\u670d\u5668\u6703\u8fd4\u56de416\u72c0\u614b\u78bc\u3002<\/li>\n<li><strong>\u8acb\u6c42\u7bc4\u570d\u683c\u5f0f\u932f\u8aa4\uff1a<\/strong>\u5982\u679c\u5ba2\u6236\u7aef\u7684\u8acb\u6c42\u683c\u5f0f\u4e0d\u6b63\u78ba\uff0c\u4f8b\u5982\u4f7f\u7528\u4e86\u4e0d\u652f\u6301\u7684\u7bc4\u570d\u683c\u5f0f\uff0c\u4f3a\u670d\u5668\u4e5f\u6703\u8fd4\u56de416\u72c0\u614b\u78bc\u3002<\/li>\n<li><strong>\u8cc7\u6e90\u5df2\u88ab\u522a\u9664\u6216\u4e0d\u5b58\u5728\uff1a<\/strong>\u5982\u679c\u8acb\u6c42\u7684\u8cc7\u6e90\u5df2\u88ab\u522a\u9664\u6216\u4e0d\u5b58\u5728\uff0c\u4f3a\u670d\u5668\u7121\u6cd5\u63d0\u4f9b\u4efb\u4f55\u7bc4\u570d\uff0c\u5f9e\u800c\u8fd4\u56de416\u72c0\u614b\u78bc\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%a6%82%e4%bd%95%e8%99%95%e7%90%86416%e7%8b%80%e6%85%8b%e7%a2%bc-kvumREUVvQ\">\u5982\u4f55\u8655\u7406416\u72c0\u614b\u78bc<\/h2>\n<p>\u7576\u9047\u5230416\u72c0\u614b\u78bc\u6642\uff0c\u958b\u767c\u8005\u548c\u7cfb\u7d71\u7ba1\u7406\u54e1\u53ef\u4ee5\u63a1\u53d6\u4ee5\u4e0b\u6b65\u9a5f\u4f86\u89e3\u6c7a\u554f\u984c\uff1a<\/p>\n<ul>\n<li><strong>\u6aa2\u67e5\u8acb\u6c42\u7bc4\u570d\uff1a<\/strong>\u9996\u5148\uff0c\u6aa2\u67e5\u5ba2\u6236\u7aef\u767c\u9001\u7684\u8acb\u6c42\u7bc4\u570d\u662f\u5426\u6b63\u78ba\u3002\u78ba\u4fdd\u8acb\u6c42\u7684\u7bc4\u570d\u5728\u8cc7\u6e90\u7684\u6709\u6548\u7bc4\u570d\u5167\u3002<\/li>\n<li><strong>\u78ba\u8a8d\u8cc7\u6e90\u5927\u5c0f\uff1a<\/strong>\u901a\u904eHTTP HEAD\u8acb\u6c42\u7372\u53d6\u8cc7\u6e90\u7684\u5927\u5c0f\uff0c\u4e26\u6839\u64da\u8a72\u5927\u5c0f\u8abf\u6574\u8acb\u6c42\u7bc4\u570d\u3002<\/li>\n<li><strong>\u6aa2\u67e5\u8cc7\u6e90\u72c0\u614b\uff1a<\/strong>\u78ba\u4fdd\u8acb\u6c42\u7684\u8cc7\u6e90\u4ecd\u7136\u5b58\u5728\u4e14\u672a\u88ab\u522a\u9664\u3002\u5982\u679c\u8cc7\u6e90\u5df2\u88ab\u522a\u9664\uff0c\u5247\u9700\u8981\u66f4\u65b0\u5ba2\u6236\u7aef\u7684\u8acb\u6c42\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%af%84%e4%be%8b%e4%bb%a3%e7%a2%bc-kvumREUVvQ\">\u7bc4\u4f8b\u4ee3\u78bc<\/h2>\n<p>\u4ee5\u4e0b\u662f\u4e00\u500b\u7c21\u55ae\u7684HTTP\u8acb\u6c42\u7bc4\u4f8b\uff0c\u5c55\u793a\u5982\u4f55\u6b63\u78ba\u4f7f\u7528\u201cRange\u201d\u6a19\u982d\uff1a<\/p>\n<pre><code>GET \/example.mp4 HTTP\/1.1\nHost: www.example.com\nRange: bytes=0-999\n<\/code><\/pre>\n<p>\u5728\u9019\u500b\u4f8b\u5b50\u4e2d\uff0c\u5ba2\u6236\u7aef\u8acb\u6c42\u4e86example.mp4\u6587\u4ef6\u7684\u524d1000\u5b57\u7bc0\u3002\u5982\u679c\u4f3a\u670d\u5668\u80fd\u5920\u6eff\u8db3\u8a72\u8acb\u6c42\uff0c\u5247\u61c9\u8fd4\u56de200 OK\u72c0\u614b\u78bc\u548c\u76f8\u61c9\u7684\u5167\u5bb9\u3002\u5982\u679c\u8acb\u6c42\u7684\u7bc4\u570d\u4e0d\u6b63\u78ba\uff0c\u5247\u4f3a\u670d\u5668\u5c07\u8fd4\u56de416 Range Not Satisfiable\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-kvumREUVvQ\">\u7e3d\u7d50<\/h2>\n<p>IIS\u72c0\u614b\u78bc416 Range Not Satisfiable\u662fHTTP\u5354\u8b70\u4e2d\u4e00\u500b\u91cd\u8981\u7684\u72c0\u614b\u78bc\uff0c\u5e6b\u52a9\u958b\u767c\u8005\u8b58\u5225\u7bc4\u570d\u8acb\u6c42\u7684\u554f\u984c\u3002\u901a\u904e\u6aa2\u67e5\u8acb\u6c42\u7bc4\u570d\u3001\u78ba\u8a8d\u8cc7\u6e90\u5927\u5c0f\u53ca\u72c0\u614b\uff0c\u958b\u767c\u8005\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u554f\u984c\u3002\u4e86\u89e3\u9019\u4e9b\u72c0\u614b\u78bc\u5c0d\u65bc\u7dad\u8b77\u548c\u512a\u5316\u7db2\u7d61\u61c9\u7528\u7a0b\u5e8f\u81f3\u95dc\u91cd\u8981\u3002<\/p>\n<p>\u5982\u9700\u4e86\u89e3\u66f4\u591a\u6709\u95dc<em><a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a><\/em>\u548c<em><a href=\"https:\/\/server.hk\">\u4f3a\u670d\u5668<\/a><\/em>\u7684\u8cc7\u8a0a\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e86\u89e3IIS\u72c0\u614b\u78bc416 Range Not Satisfiable\uff08\u7bc4\u570d\u4e0d\u6eff\u8db3\uff09\uff0c\u5176\u610f\u7fa9\u53ca\u89e3\u6c7a\u65b9\u6cd5\uff0c\u78ba\u4fdd\u6709\u6548\u7684HTTP\u8acb\u6c42\u8655\u7406\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4924],"tags":[],"class_list":["post-47052","post","type-post","status-publish","format-standard","hentry","category-setup-tutorials"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/47052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=47052"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/47052\/revisions"}],"predecessor-version":[{"id":47053,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/47052\/revisions\/47053"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=47052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=47052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=47052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}