{"id":642,"date":"2006-06-08T01:00:00","date_gmt":"2006-06-07T16:00:00","guid":{"rendered":"https:\/\/ecoop.net\/memo\/2006-06-08-1.html"},"modified":"2006-06-08T01:00:00","modified_gmt":"2006-06-07T16:00:00","slug":"2006-06-08-1","status":"publish","type":"post","link":"https:\/\/www.ecoop.net\/memo\/archives\/2006-06-08-1.html","title":{"rendered":"HTTP_Client 1.1 \u306e\u4e0d\u5177\u5408\uff1f"},"content":{"rendered":"<p>\nHTTP_Client \u304c 1.1 \u306b\u306a\u3063\u3066 get\/post \u6642\u306b &lt;meta http-equiv=&#8217;Refresh&#8217;> \u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u305f\u3069\u3063\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\n<\/p>\n<blockquote><p>(<a href=\"http:\/\/pear.php.net\/package\/HTTP_Client\/download\/\">ChangeLog<\/a>\u3088\u308a\u629c\u7c8b)<br \/>\n* HTTP_Client now analyzes the response body for &lt;meta http-equiv=&#8221;Refresh&#8221;><br \/>\ntags and follows the redirects defined in them (request #5734)\n<\/p><\/blockquote>\n<p>&nbsp;<br \/>\n\u4fbf\u5229\u306b\u306a\u3063\u3066\u3044\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u4ee5\u964d &#8220;Fatal Error: Too many redirects&#8221; \u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002_maxRedirects \u306e\u5024\u306b\u9054\u3059\u308b\u307e\u3067\u5ef6\u3005\u3068\u540c\u3058URL\u3092\u30a2\u30af\u30bb\u30b9\u3057\u7d9a\u3051\u3066\u3001\u305d\u306e\u7d50\u679c\u767a\u751f\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\n&nbsp;<br \/>\n\u5225\u306e\u74b0\u5883\u3067\u306e\u518d\u73fe\u3092\u78ba\u8a8d\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u73fe\u8c61\u306f &lt;meta http-equiv=&#8221;Refresh&#8221; contents=&#8221;&#8230;;url=\/path\/to\/nextPage&#8221;> \u3092\u5229\u7528\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u3067 post() \u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u3068\u767a\u751f\u3059\u308b\u3088\u3046\u3067\u3059(post($url.$query, array()) \u3082\u4e0d\u53ef)\u3002\u5168\u304f\u540c\u3058\u30b3\u30fc\u30c9\u3067get() \u306b\u7f6e\u304d\u63db\u3048\u308b\u3068\u554f\u984c\u306a\u304f\u52d5\u4f5c\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTTP_Client \u304c 1.1 \u306b\u306a\u3063\u3066 get\/post \u6642\u306b &lt;meta http-equiv=&#8217;Refresh&#8217;> \u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u305f\u3069\u3063\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002 (Change &hellip; <a href=\"https:\/\/www.ecoop.net\/memo\/archives\/2006-06-08-1.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">HTTP_Client 1.1 \u306e\u4e0d\u5177\u5408\uff1f<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[32],"class_list":["post-642","post","type-post","status-publish","format-standard","hentry","tag-php"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/comments?post=642"}],"version-history":[{"count":0,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/642\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/media?parent=642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/categories?post=642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/tags?post=642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}