{"id":448,"date":"2020-12-23T15:36:26","date_gmt":"2020-12-23T07:36:26","guid":{"rendered":"http:\/\/blog.refusea.com\/?p=448"},"modified":"2020-12-23T15:36:26","modified_gmt":"2020-12-23T07:36:26","slug":"http-%e9%94%99%e8%af%af%e7%a0%81%e5%ad%a6%e4%b9%a0","status":"publish","type":"post","link":"https:\/\/refusea.com\/?p=448","title":{"rendered":"HTTP \u9519\u8bef\u7801\u5b66\u4e60"},"content":{"rendered":"<h2>\u5e38\u89c1 http \u9519\u8bef\u7801<\/h2>\n<p>\u670d\u52a1\u5668\u5de1\u68c0\u65f6\u6bd4\u8f83\u5e38\u89c1\u7684 http \u9519\u8bef\u7801<\/p>\n<ul>\n<li>400 Bad Request<\/li>\n<li>408 Request Timeout<\/li>\n<li>499 client has closed connection<\/li>\n<li>502 Bad Gateway<\/li>\n<li>504 Gateway Timeout<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b\u9519\u8bef\u7801\u53cd\u6620\u4e86\u670d\u52a1\u5668\u4ec0\u4e48\u6837\u7684\u72b6\u6001\uff0c\u4ec5\u770b\u5b57\u9762\u610f\u601d\u8fd8\u4e0d\u592a\u5bb9\u6613\u7406\u89e3\uff0c\u5c31\u52a8\u624b\u505a\u4e2a\u8bd5\u9a8c\u5427<\/p>\n<h2>\u8bd5\u9a8c\u73af\u5883<\/h2>\n<p>\u5728 linux \u4e3b\u673a 172.17.21.76 \u4e0a\u8fd0\u884c nginx\uff0c\u5728\u672c\u673a(windows 10)\u4e0a\u8fd0\u884c jetty\uff0clinux \u4e0a\u7684 nginx \u53cd\u5411\u4ee3\u7406\u5230\u672c\u673a jetty<\/p>\n<h2>\u8bd5\u9a8c\u5de5\u5177<\/h2>\n<p>\u53d1\u9001 http \u8bf7\u6c42\u4e3b\u8981\u91c7\u7528 postman\uff0c\u4e5f\u4f7f\u7528\u4e86 telnet \u548c python \u811a\u672c<\/p>\n<h2>\u8bd5\u9a8c<\/h2>\n<h3>400<\/h3>\n<p>\u9519\u8bef\u7684\u8bf7\u6c42\uff0c\u6bd4\u5982\u5fc5\u987b\u7684\u53c2\u6570\u672a\u4f20\u9012\uff0c\u90a3\u4e48\u6211\u4eec\u6765\u8bd5\u4e0b<\/p>\n<pre><code class=\"language-java\">@Controller\n@RequestMapping(&quot;\/api\/&quot;)\npublic class TestController {\n\n    @ResponseBody\n    @RequestMapping(&quot;test.debug&quot;)\n    public String test(@RequestParam(required = true) String name) {\n        return name;\n    }\n\n}<\/code><\/pre>\n<p>\u53ef\u4ee5\u770b\u5230 name \u53c2\u6570\u662f\u5fc5\u987b\u7684\uff0c\u90a3\u4e48\u4e0d\u5e26\u53c2\u6570\u8c03\u7528\u4e00\u4e0b<\/p>\n<pre><code>http:\/\/browser.in.meizu.com\/api\/test.debug<\/code><\/pre>\n<p>\u8fd4\u56de 200\uff0c\u5982\u4e0b<br \/>\n<img decoding=\"async\" src=\"https:\/\/static.refusea.com\/2020\/12\/200_1.png\" alt=\"\" \/><\/p>\n<p>\u600e\u4e48\u8fd4\u56de\u4e86 200 \u800c\u4e0d\u662f\u9884\u671f\u7684 400\u5462\uff1f\u7ecf\u8fc7\u4e00\u756a\u68c0\u67e5\uff0c\u539f\u6765\u662f\u6709\u4e2a\u5f02\u5e38\u5904\u7406\u7a0b\u5e8f\u6355\u6349\u5230\u4e86\u53c2\u6570\u672a\u4f20\u9012\u7684\u5f02\u5e38\u5e76\u8fdb\u884c\u4e86\u5904\u7406\uff0c\u5982\u4e0b<\/p>\n<pre><code class=\"language-java\">@Component\npublic class ExceptionHandler implements HandlerExceptionResolver {\n\n    private static final Logger log = Logger.getLogger(ExceptionHandler.class);\n\n    @Override\n    public ModelAndView resolveException(HttpServletRequest request, HttpServletResponse response,\n                                         Object handler, Exception ex) {\n        response.setContentType(&quot;application\/json; charset=UTF-8&quot;);\n        String code = null;\n        String message = null;\n        if (ex instanceof BizException) {\n            BizException exception = (BizException) ex;\n            message = exception.getMessage();\n            code = Integer.toString(exception.getErrorCode());\n        } else if (ex instanceof MissingServletRequestParameterException) {\n            code = &quot;900002&quot;;\n            message = ex.getMessage();\n            log.error(message);\n        } else {\n            code = &quot;403&quot;;\n            message = ex.getMessage();\n            log.error(ex, ex);\n        }\n\n        ModelAndView mav = new ModelAndView(&quot;error&quot;);\n        mav.addObject(&quot;code&quot;, code);\n        mav.addObject(&quot;message&quot;, message);\n        mav.addObject(&quot;value&quot;, message);\n        return mav;\n    }\n}<\/code><\/pre>\n<p>\u7981\u7528\u8be5\u5f02\u5e38\u5904\u7406\u4ee5\u540e\uff0c\u91cd\u65b0\u8bd5\u9a8c\u8fd4\u56de\u4e86 400\uff0c\u5982\u4e0b<br \/>\n<img decoding=\"async\" src=\"https:\/\/static.refusea.com\/2020\/12\/400.png\" alt=\"\" \/><\/p>\n<p>\u6b64\u5916\uff0c\u80e1\u4e71\u7684\u53d1\u9001\u6570\u636e\u7ed9 nginx \u670d\u52a1\u5668\u800c\u4e0d\u6309 http \u534f\u8bae\u89c4\u8303\u7ec4\u7ec7\u6570\u636e\uff0c\u4e5f\u4f1a\u5f97\u5230 400 \u7684\u8fd4\u56de\u7801\uff0c\u53ef\u4ee5\u7528 telnet \u8bd5\u9a8c\u4e00\u4e0b\uff0c\u5982\u4e0b\u56fe<br \/>\n<img decoding=\"async\" src=\"https:\/\/static.refusea.com\/2020\/12\/400_1.png\" alt=\"\" \/><\/p>\n<p>\u5728\u7528 telnet \u7ed9 nginx \u53d1\u9001\u6570\u636e\u65f6\uff0c\u8f93\u5165 &quot;HTTP\/2.3.&quot;\uff0c\u7531\u4e8e 2.3. \u662f\u4e0d\u5b58\u5728\u7684\u7248\u672c\uff0cnginx \u5f53\u5373\u8fd4\u56de\u4e86 400 \u9519\u8bef\u7801<\/p>\n<h3>408<\/h3>\n<p>\u8bf7\u6c42\u8d85\u65f6\uff0cnginx \u5728\u89c4\u5b9a\u7684\u65f6\u95f4\u5185\u65e0\u6cd5\u83b7\u53d6\u5230\u5ba2\u6237\u7aef\u7684\u8bf7\u6c42<br \/>\n\u8fd9\u4e2a\u9519\u8bef\u7801\u5f88\u5947\u602a\uff0c\u6839\u636e\u8be5\u9519\u8bef\u7801\u7684\u542b\u4e49\uff0c\u4f7f\u7528 telnet \u548c python \u8fdb\u884c\u6a21\u62df\uff0c\u4f46\u65e0\u6cd5\u4f7f nginx \u8fd4\u56de 408 \u9519\u8bef\u7801&#8230;&#8230;\u8bd5\u9a8c\u5931\u8d25\u4e86<\/p>\n<p>\u53e6\u5916\uff0c\u67e5\u770b nginx \u65e5\u5fd7\uff0c\u53d1\u73b0\u8fd4\u56de 408 \u9519\u8bef\u7801\u7684\u65e5\u5fd7\uff0c\u5b9e\u9645\u4e0a\u8bf7\u6c42\u90fd\u5df2\u7ecf\u8f6c\u53d1\u7ed9 jetty \u5e76\u4e14 jetty \u4e5f\u8fd4\u56de\u4e86 200 \u54cd\u5e94\u7801\uff0c\u5982\u4e0b<\/p>\n<pre><code class=\"language-log\">2020-03-02T00:00:01+00:00 408 166679257 1 157.37.132.68 - - 10609 0.337 POST HTTP\/1.1 refusea.com 80 \/hotapp\/appUpdate - - 80 okhttp\/3.8.0 - - 127.0.0.1:8080 200 0.007<\/code><\/pre>\n<p>\u6240\u4ee5\uff0c\u8fd9\u4e2a\u9519\u8bef\u7801\u76ee\u524d\u8fd8\u65e0\u6cd5\u89e3\u91ca<\/p>\n<h3>499<\/h3>\n<p>\u5728 nginx \u8fd4\u56de\u7ed3\u679c\u4e4b\u524d\uff0c\u5ba2\u6237\u7aef\u65ad\u5f00\u4e86\u8fde\u63a5\uff0cnginx \u4f1a\u8bb0\u5f55 499 \u9519\u8bef\u7801\u5230\u65e5\u5fd7\uff0c\u8981\u91cd\u73b0\u8fd9\u4e2a\u9519\u8bef\u7801\uff0c\u53ea\u9700\u8981\u8ba9\u63a5\u53e3\u7b49\u5f85\u4e00\u6bb5\u6bd4\u8f83\u957f\u7684\u65f6\u95f4\uff0c\u5e76\u5728\u8bf7\u6c42\u7aef\u4e3b\u52a8\u65ad\u5f00\u5373\u53ef\uff0c\u5982\u4e0b<\/p>\n<pre><code class=\"language-java\">@Controller\n@RequestMapping(&quot;\/api\/&quot;)\npublic class TestController {\n\n    @ResponseBody\n    @RequestMapping(&quot;test.debug&quot;)\n    public String test(@RequestParam(required = true) String name) {\n        try {\n            Thread.sleep(300 * 1000);\n        } catch (InterruptedException e) {\n        }\n        return name;\n    }\n}<\/code><\/pre>\n<p>\u5728 postman \u91cc\u53d1\u8d77\u8bf7\u6c42\uff0c\u5e76\u5728\u7b49\u5f85\u7684\u8fc7\u7a0b\u4e2d\u70b9\u51fb cancel \u6309\u94ae<br \/>\n<img decoding=\"async\" src=\"https:\/\/static.refusea.com\/2020\/12\/499.png\" alt=\"\" \/><br \/>\n\u8fd9\u65f6 postman \u6ca1\u6709\u4efb\u4f55\u8fd4\u56de\uff0c\u4f46\u662f\u67e5\u770b nginx \u7684\u65e5\u5fd7\uff0c\u4f1a\u53d1\u73b0\u4e00\u6761 499 \u7684\u8bb0\u5f55\uff0c\u5982\u4e0b<br \/>\n<img decoding=\"async\" src=\"https:\/\/static.refusea.com\/2020\/12\/499_1.png\" alt=\"\" \/><\/p>\n<h3>502<\/h3>\n<p>\u8fd9\u4e2a\u6bd4\u8f83\u597d\u7406\u89e3\uff0cjetty \u670d\u52a1\u6302\u4e86\u6216\u8005\u6ca1\u6709\u542f\u52a8\uff0c\u6211\u4eec\u505c\u6389 jetty \u5c31\u53ef\u4ee5\u5f97\u5230\u8fd9\u4e2a\u9519\u8bef\u7801\uff0c\u5982\u4e0b<br \/>\n<img decoding=\"async\" src=\"https:\/\/static.refusea.com\/2020\/12\/502.png\" alt=\"\" \/><\/p>\n<h3>504<\/h3>\n<p>\u8fd9\u662f jetty \u54cd\u5e94\u8d85\u65f6\u4e86\uff0c\u6211\u4eec\u8ba9\u63a5\u53e3\u7b49\u5f85 300 \u79d2\u540e\u8fd4\u56de\uff0c\u6765\u6d4b\u8bd5\u4e00\u4e0b<\/p>\n<pre><code class=\"language-java\">@Controller\n@RequestMapping(&quot;\/api\/&quot;)\npublic class TestController {\n\n    @ResponseBody\n    @RequestMapping(&quot;test.debug&quot;)\n    public String test(@RequestParam(required = true) String name) {\n        try {\n            Thread.sleep(300 * 1000);\n        } catch (InterruptedException e) {\n        }\n        return name;\n    }\n}<\/code><\/pre>\n<p>\u53ef\u4ee5\u770b\u5230\u572860\u79d2(\u51c6\u786e\u7684\u8bf4\uff0c60133 ms)\u4ee5\u540e\uff0cnginx \u8fd4\u56de\u4e86 504<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/static.refusea.com\/2020\/12\/504.png\" alt=\"\" \/><\/p>\n<p>\u8fd9\u662f\u56e0\u4e3a nginx \u9ed8\u8ba4\u7b49\u5f85 jetty 60 \u79d2\uff0c\u65f6\u95f4\u5230\u4e86 jetty \u6ca1\u6709\u54cd\u5e94 nginx \u5c31\u4f1a\u81ea\u884c\u8fd4\u56de 504\uff1b\u5982\u679c\u60f3\u8981 nginx \u591a\u7b49\u4e00\u6bb5\u65f6\u95f4\uff0c\u53ef\u4ee5\u5982\u4e0b\u914d\u7f6e<\/p>\n<pre><code class=\"language-nginx\">proxy_read_timeout 6m;<\/code><\/pre>\n<p>\u73b0\u5728\u518d\u8bd5\u4e00\u4e0b<br \/>\n<img decoding=\"async\" src=\"https:\/\/static.refusea.com\/2020\/12\/504_1.png\" alt=\"\" \/><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u7ecf\u8fc7 300 \u79d2\uff08300062 ms\uff09\u7684\u6f2b\u957f\u7b49\u5f85\uff0c\u6211\u4eec\u5f97\u5230\u4e86 jetty \u7684\u54cd\u5e94<\/p>\n<h2>\u7ed3\u8bba<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u9519\u8bef\u7801<\/th>\n<th>\u4ea7\u751f\u539f\u56e0<\/th>\n<th>\u89e3\u51b3\u529e\u6cd5<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>400<\/td>\n<td>\u5ba2\u6237\u7aef\u8bf7\u6c42\u6570\u636e\u683c\u5f0f\u4e0d\u5bf9\uff0c\u4e0d\u7b26\u5408\u63a5\u53e3\u89c4\u8303<\/td>\n<td>\u548c\u5ba2\u6237\u7aef\u6c9f\u901a\uff0c\u8981\u6c42\u5ba2\u6237\u7aef\u4fee\u590d\uff1b\u670d\u52a1\u7aef\u8fdb\u884c\u5bb9\u9519\u5904\u7406<\/td>\n<\/tr>\n<tr>\n<td>408<\/td>\n<td>\u4e0d\u77e5\u9053<\/td>\n<td>\u7ee7\u7eed\u7814\u7a76<\/td>\n<\/tr>\n<tr>\n<td>499<\/td>\n<td>\u7531\u4e8e\u670d\u52a1\u5668\u5904\u7406\u592a\u6162\uff0c\u5ba2\u6237\u7aef\u5728\u89c4\u5b9a\u7684\u65f6\u95f4\u5185\u672a\u63a5\u6536\u5230\u54cd\u5e94\uff0c\u4e3b\u52a8\u65ad\u5f00\u8fde\u63a5\uff1b\u5ba2\u6237\u7aef\u7f51\u7edc\u88ab\u65ad\u5f00\u4e86\uff0c\u5728\u79fb\u52a8\u4e92\u8054\u7f51\u73af\u5883\u4e0b\u8fd9\u8fd8\u662f\u6bd4\u8f83\u5e38\u89c1\u7684\uff0c\u4f8b\u5982\u7528\u6237\u79fb\u52a8\u5230 WIFI \u8986\u76d6\u533a\u57df\u4ee5\u5916<\/td>\n<td>\u670d\u52a1\u7aef\u6027\u80fd\u4f18\u5316\uff1b\u5ba2\u6237\u7aef\u9700\u8981\u7a33\u5b9a\u9ad8\u901f\u7684\u7f51\u7edc\u73af\u5883<\/td>\n<\/tr>\n<tr>\n<td>502<\/td>\n<td>\u670d\u52a1\u5668\u5b95\u673a<\/td>\n<td>\u91cd\u542f\u670d\u52a1\u5668<\/td>\n<\/tr>\n<tr>\n<td>504<\/td>\n<td>\u670d\u52a1\u7aef\u54cd\u5e94\u592a\u6162\u4e86<\/td>\n<td>\u4f18\u5316\u6027\u80fd<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u5e38\u89c1 http \u9519\u8bef\u7801 \u670d\u52a1\u5668\u5de1\u68c0\u65f6\u6bd4\u8f83\u5e38\u89c1\u7684 http \u9519\u8bef\u7801 400 Bad Request 408 Re [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[44],"class_list":["post-448","post","type-post","status-publish","format-standard","hentry","category-java","tag-httpstatus"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>HTTP \u9519\u8bef\u7801\u5b66\u4e60 - \u62d2\u6d77\u7a7a\u95f4<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/refusea.com\/?p=448\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"refusea.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/refusea.com\/?p=448#article\",\"isPartOf\":{\"@id\":\"https:\/\/refusea.com\/?p=448\"},\"author\":{\"name\":\"refusea.com\",\"@id\":\"https:\/\/refusea.com\/#\/schema\/person\/b5393cc8b15717000d19424552aae0df\"},\"headline\":\"HTTP \u9519\u8bef\u7801\u5b66\u4e60\",\"datePublished\":\"2020-12-23T07:36:26+00:00\",\"dateModified\":\"2020-12-23T07:36:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/refusea.com\/?p=448\"},\"wordCount\":62,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/refusea.com\/#\/schema\/person\/b5393cc8b15717000d19424552aae0df\"},\"image\":{\"@id\":\"https:\/\/refusea.com\/?p=448#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.refusea.com\/2020\/12\/200_1.png\",\"keywords\":[\"httpstatus\"],\"articleSection\":[\"Java\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/refusea.com\/?p=448#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/refusea.com\/?p=448\",\"url\":\"https:\/\/refusea.com\/?p=448\",\"name\":\"HTTP \u9519\u8bef\u7801\u5b66\u4e60 - \u62d2\u6d77\u7a7a\u95f4\",\"isPartOf\":{\"@id\":\"https:\/\/refusea.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/refusea.com\/?p=448#primaryimage\"},\"image\":{\"@id\":\"https:\/\/refusea.com\/?p=448#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.refusea.com\/2020\/12\/200_1.png\",\"datePublished\":\"2020-12-23T07:36:26+00:00\",\"dateModified\":\"2020-12-23T07:36:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/refusea.com\/?p=448#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/refusea.com\/?p=448\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/refusea.com\/?p=448#primaryimage\",\"url\":\"https:\/\/static.refusea.com\/2020\/12\/200_1.png\",\"contentUrl\":\"https:\/\/static.refusea.com\/2020\/12\/200_1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/refusea.com\/?p=448#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/refusea.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTTP \u9519\u8bef\u7801\u5b66\u4e60\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/refusea.com\/#website\",\"url\":\"https:\/\/refusea.com\/\",\"name\":\"\u62d2\u6d77\u7a7a\u95f4\",\"description\":\"\u62d2\u6d77\u7684\u4e2a\u4eba\u535a\u5ba2\",\"publisher\":{\"@id\":\"https:\/\/refusea.com\/#\/schema\/person\/b5393cc8b15717000d19424552aae0df\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/refusea.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/refusea.com\/#\/schema\/person\/b5393cc8b15717000d19424552aae0df\",\"name\":\"refusea.com\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/refusea.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7f7489b4afdbd952db64e7a6704d1258?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7f7489b4afdbd952db64e7a6704d1258?s=96&d=mm&r=g\",\"caption\":\"refusea.com\"},\"logo\":{\"@id\":\"https:\/\/refusea.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/refusea.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HTTP \u9519\u8bef\u7801\u5b66\u4e60 - \u62d2\u6d77\u7a7a\u95f4","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/refusea.com\/?p=448","twitter_misc":{"\u4f5c\u8005":"refusea.com","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/refusea.com\/?p=448#article","isPartOf":{"@id":"https:\/\/refusea.com\/?p=448"},"author":{"name":"refusea.com","@id":"https:\/\/refusea.com\/#\/schema\/person\/b5393cc8b15717000d19424552aae0df"},"headline":"HTTP \u9519\u8bef\u7801\u5b66\u4e60","datePublished":"2020-12-23T07:36:26+00:00","dateModified":"2020-12-23T07:36:26+00:00","mainEntityOfPage":{"@id":"https:\/\/refusea.com\/?p=448"},"wordCount":62,"commentCount":1,"publisher":{"@id":"https:\/\/refusea.com\/#\/schema\/person\/b5393cc8b15717000d19424552aae0df"},"image":{"@id":"https:\/\/refusea.com\/?p=448#primaryimage"},"thumbnailUrl":"https:\/\/static.refusea.com\/2020\/12\/200_1.png","keywords":["httpstatus"],"articleSection":["Java"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/refusea.com\/?p=448#respond"]}]},{"@type":"WebPage","@id":"https:\/\/refusea.com\/?p=448","url":"https:\/\/refusea.com\/?p=448","name":"HTTP \u9519\u8bef\u7801\u5b66\u4e60 - \u62d2\u6d77\u7a7a\u95f4","isPartOf":{"@id":"https:\/\/refusea.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/refusea.com\/?p=448#primaryimage"},"image":{"@id":"https:\/\/refusea.com\/?p=448#primaryimage"},"thumbnailUrl":"https:\/\/static.refusea.com\/2020\/12\/200_1.png","datePublished":"2020-12-23T07:36:26+00:00","dateModified":"2020-12-23T07:36:26+00:00","breadcrumb":{"@id":"https:\/\/refusea.com\/?p=448#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/refusea.com\/?p=448"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/refusea.com\/?p=448#primaryimage","url":"https:\/\/static.refusea.com\/2020\/12\/200_1.png","contentUrl":"https:\/\/static.refusea.com\/2020\/12\/200_1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/refusea.com\/?p=448#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/refusea.com\/"},{"@type":"ListItem","position":2,"name":"HTTP \u9519\u8bef\u7801\u5b66\u4e60"}]},{"@type":"WebSite","@id":"https:\/\/refusea.com\/#website","url":"https:\/\/refusea.com\/","name":"\u62d2\u6d77\u7a7a\u95f4","description":"\u62d2\u6d77\u7684\u4e2a\u4eba\u535a\u5ba2","publisher":{"@id":"https:\/\/refusea.com\/#\/schema\/person\/b5393cc8b15717000d19424552aae0df"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/refusea.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/refusea.com\/#\/schema\/person\/b5393cc8b15717000d19424552aae0df","name":"refusea.com","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/refusea.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7f7489b4afdbd952db64e7a6704d1258?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7f7489b4afdbd952db64e7a6704d1258?s=96&d=mm&r=g","caption":"refusea.com"},"logo":{"@id":"https:\/\/refusea.com\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/refusea.com"]}]}},"_links":{"self":[{"href":"https:\/\/refusea.com\/index.php?rest_route=\/wp\/v2\/posts\/448"}],"collection":[{"href":"https:\/\/refusea.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/refusea.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/refusea.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/refusea.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=448"}],"version-history":[{"count":2,"href":"https:\/\/refusea.com\/index.php?rest_route=\/wp\/v2\/posts\/448\/revisions"}],"predecessor-version":[{"id":458,"href":"https:\/\/refusea.com\/index.php?rest_route=\/wp\/v2\/posts\/448\/revisions\/458"}],"wp:attachment":[{"href":"https:\/\/refusea.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/refusea.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/refusea.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}