{"id":478,"date":"2010-07-11T15:30:42","date_gmt":"2010-07-11T14:30:42","guid":{"rendered":"http:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/"},"modified":"2010-07-11T15:30:42","modified_gmt":"2010-07-11T14:30:42","slug":"perl-6-lwpsimple-gets-chunked-transfers-support","status":"publish","type":"post","link":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/","title":{"rendered":"Perl 6 LWP::Simple gets chunked transfers support"},"content":{"rendered":"<p>With this one I think we&#39;re basically done!<\/p>\n<p><a href=\"http:\/\/github.com\/cosimo\/perl6-lwp-simple\" rel=\"nofollow\">Perl6 LWP::Simple<\/a> gets <a href=\"http:\/\/en.wikipedia.org\/wiki\/Chunked_transfer_encoding\" rel=\"nofollow\">chunked transfers support<\/a>. It&#39;s probably not excellent or universally working, but for the examples I could try and test, it&#39;s totally fine. If you find some URLs where it&#39;s broken, please tell me.<\/p>\n<p>I also threw in the <code>getstore()<\/code> method to save URLs locally.<\/p>\n<p>So, <b>LWP::Simple<\/b> for Perl 6 is here and it&#39;s working. It&#39;s not yet &quot;complete&quot; compared to the Perl 5 version, but now that I got the hard bits working, and the internals can perform a <b>full http response parsing<\/b>, I&#39;ll try to reach a 100% API compatibility with the Perl 5 one (where it makes sense).<\/p>\n<p>Try it and let me know. Have fun!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With this one I think we&#39;re basically done! Perl6 LWP::Simple gets chunked transfers support. It&#39;s probably not excellent or universally working, but for the examples I could try and test, it&#39;s totally fine. If you find some URLs where it&#39;s broken, please tell me. I also threw in the getstore() method to save URLs locally. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[404,358,287,50,290,286,403],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Perl 6 LWP::Simple gets chunked transfers support - Random hacking<\/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:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Perl 6 LWP::Simple gets chunked transfers support - Random hacking\" \/>\n<meta property=\"og:description\" content=\"With this one I think we&#039;re basically done! Perl6 LWP::Simple gets chunked transfers support. It&#039;s probably not excellent or universally working, but for the examples I could try and test, it&#039;s totally fine. If you find some URLs where it&#039;s broken, please tell me. I also threw in the getstore() method to save URLs locally. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/\" \/>\n<meta property=\"og:site_name\" content=\"Random hacking\" \/>\n<meta property=\"article:published_time\" content=\"2010-07-11T14:30:42+00:00\" \/>\n<meta name=\"author\" content=\"cosimo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cosimo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/\"},\"author\":{\"name\":\"cosimo\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"headline\":\"Perl 6 LWP::Simple gets chunked transfers support\",\"datePublished\":\"2010-07-11T14:30:42+00:00\",\"dateModified\":\"2010-07-11T14:30:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/\"},\"wordCount\":132,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"keywords\":[\"chunked transfer\",\"http\",\"LWP::Simple\",\"perl\",\"perl6\",\"rakudo\",\"rfc2616\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/\",\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/\",\"name\":\"Perl 6 LWP::Simple gets chunked transfers support - Random hacking\",\"isPartOf\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#website\"},\"datePublished\":\"2010-07-11T14:30:42+00:00\",\"dateModified\":\"2010-07-11T14:30:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.streppone.it\/cosimo\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Perl 6 LWP::Simple gets chunked transfers support\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#website\",\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/\",\"name\":\"Random hacking\",\"description\":\"Assume nothing. Code defensively. Keep it simple, stupid!\",\"publisher\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.streppone.it\/cosimo\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\",\"name\":\"cosimo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g\",\"caption\":\"cosimo\"},\"logo\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/author\/cosimo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Perl 6 LWP::Simple gets chunked transfers support - Random hacking","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:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/","og_locale":"en_US","og_type":"article","og_title":"Perl 6 LWP::Simple gets chunked transfers support - Random hacking","og_description":"With this one I think we&#39;re basically done! Perl6 LWP::Simple gets chunked transfers support. It&#39;s probably not excellent or universally working, but for the examples I could try and test, it&#39;s totally fine. If you find some URLs where it&#39;s broken, please tell me. I also threw in the getstore() method to save URLs locally. [&hellip;]","og_url":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/","og_site_name":"Random hacking","article_published_time":"2010-07-11T14:30:42+00:00","author":"cosimo","twitter_card":"summary_large_image","twitter_misc":{"Written by":"cosimo","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/#article","isPartOf":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/"},"author":{"name":"cosimo","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"headline":"Perl 6 LWP::Simple gets chunked transfers support","datePublished":"2010-07-11T14:30:42+00:00","dateModified":"2010-07-11T14:30:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/"},"wordCount":132,"commentCount":0,"publisher":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"keywords":["chunked transfer","http","LWP::Simple","perl","perl6","rakudo","rfc2616"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/","url":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/","name":"Perl 6 LWP::Simple gets chunked transfers support - Random hacking","isPartOf":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#website"},"datePublished":"2010-07-11T14:30:42+00:00","dateModified":"2010-07-11T14:30:42+00:00","breadcrumb":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/07\/perl-6-lwpsimple-gets-chunked-transfers-support\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.streppone.it\/cosimo\/blog\/"},{"@type":"ListItem","position":2,"name":"Perl 6 LWP::Simple gets chunked transfers support"}]},{"@type":"WebSite","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#website","url":"https:\/\/www.streppone.it\/cosimo\/blog\/","name":"Random hacking","description":"Assume nothing. Code defensively. Keep it simple, stupid!","publisher":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.streppone.it\/cosimo\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1","name":"cosimo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g","caption":"cosimo"},"logo":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/"},"url":"https:\/\/www.streppone.it\/cosimo\/blog\/author\/cosimo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts\/478"}],"collection":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/comments?post=478"}],"version-history":[{"count":0,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts\/478\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/media?parent=478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/categories?post=478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/tags?post=478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}