{"id":7737,"date":"2015-10-19T01:17:15","date_gmt":"2015-10-19T01:17:15","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/10\/19\/read-response-by-server-push-with-okhttp-open-source-projects-square-okhttp\/"},"modified":"2015-10-19T01:17:15","modified_gmt":"2015-10-19T01:17:15","slug":"read-response-by-server-push-with-okhttp-open-source-projects-square-okhttp","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/10\/19\/read-response-by-server-push-with-okhttp-open-source-projects-square-okhttp\/","title":{"rendered":"Read response by server push with OkHttp-open source projects square\/okhttp"},"content":{"rendered":"<p>I am making a simple Android app to test the response from the server which support SPDY Server Push. I&#8217;ve started with the testing site, which should be able to push the rest of resources automatically after issuing the first HTTP request to the page.<\/p>\n<p>I just come across the OkHttp and would like to know whether it already supports accepting the server push stream. If yes, how could I obtain the input stream for the &#8220;responses&#8221; which are not requested directly?<\/p>\n<p>Thanks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am making a simple Android app to test the response from the server which support SPDY Server Push. I&#8217;ve started with the testing site, which should be able to push the rest of resources automatically after issuing the first HTTP request to the page. I just come across the OkHttp and would like to [&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-7737","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7737","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=7737"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7737\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}