{"id":7729,"date":"2015-10-19T01:12:00","date_gmt":"2015-10-19T01:12:00","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/10\/19\/is-it-possible-to-disable-following-redirects-in-okhttp-2-0-open-source-projects-square-okhttp\/"},"modified":"2015-10-19T01:12:00","modified_gmt":"2015-10-19T01:12:00","slug":"is-it-possible-to-disable-following-redirects-in-okhttp-2-0-open-source-projects-square-okhttp","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/10\/19\/is-it-possible-to-disable-following-redirects-in-okhttp-2-0-open-source-projects-square-okhttp\/","title":{"rendered":"Is it possible to disable following redirects in OkHttp 2.0?-open source projects square\/okhttp"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3878f89e589803ef1ee76e35bc989748?s=128&amp;d=identicon&amp;r=PG\" \/> <strong>kibibyte<\/strong><\/p>\n<p>Seems like it isn&#8217;t possible, but it will supposedly make it into the next release, at least according to some of these comments on a related issue on Github.<\/p>\n<p>Edit: It looks like it could be possible through <code>OkUrlFactory<\/code>, which is part of the okhttp-urlconnection submodule (still haven&#8217;t figured out the actual purpose of this, but it looks like an <code>Http(s)UrlConnection<\/code> replacement).<\/p>\n<p>Edit 2: Actually, hang on; it looks like it is implemented on master. However, it also looks like this didn&#8217;t make it into the 2.0.0 release snapshot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>kibibyte Seems like it isn&#8217;t possible, but it will supposedly make it into the next release, at least according to some of these comments on a related issue on Github. Edit: It looks like it could be possible through OkUrlFactory, which is part of the okhttp-urlconnection submodule (still haven&#8217;t figured out the actual purpose of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7729","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7729"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7729\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}