{"id":442,"date":"2011-09-18T16:39:28","date_gmt":"2011-09-18T15:39:28","guid":{"rendered":"http:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/"},"modified":"2011-09-18T16:39:28","modified_gmt":"2011-09-18T15:39:28","slug":"fixed-temporary-files-handling-in-httpdav","status":"publish","type":"post","link":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/","title":{"rendered":"Fixed temporary files handling in HTTP::DAV"},"content":{"rendered":"<p>It&#39;s more than 3 years already that I took over maintainership for <a href=\"https:\/\/metacpan.org\/module\/HTTP::DAV\" rel=\"nofollow\">HTTP::DAV<\/a>. I&#39;ve been fixing several bugs, <a href=\"https:\/\/github.com\/cosimo\/perl5-http-dav\/commit\/f29539db6f09d0f92628e7ff9979741382de2ac6\" rel=\"nofollow\">last one today<\/a> (and 0.45 is just out on CPAN), and I have to say that it was a fantastic exercise, that I really suggest to anyone even moderately interested in open source development and improving their own programming skills.<\/p>\n<p>Here&#39;s how it works:<\/p>\n<ul>\n<li>Pick a CPAN distribution that has been put up for adoption, or one that your $work depends on (my case for HTTP::DAV)<\/li>\n<li>Contact its author or current maintainer\n<li>Take a look at its RT queue (usually it&#39;s something like <code><a href=\"https:\/\/rt.cpan.org\/Public\/Dist\/Display.html?Name=Some-Dist-Name\" rel=\"nofollow\" target=\"_blank\">https:\/\/rt.cpan.org\/Public\/Dist\/Display.html?Name=Some-Dist-Name<\/a><\/code><\/li>\n<li>Pick whatever bug you fancy from the list<\/li>\n<li>Write a test case for it, naming it <code>t\/RT_[ticket_number].t<\/code><\/li>\n<li>Fix the bug in the code, and see your test case pass<\/li>\n<\/li>\n<\/ul>\n<p>That&#39;s what I&#39;ve been trying to do with <code>HTTP::DAV<\/code>, that was back then completely unknown code to me. I hope the results are decent. At least there hasn&#39;t been any regression reported so far&#8230; :-)<\/p>\n<p>Enjoy, <a href=\"https:\/\/github.com\/cosimo\/perl5-http-dav\" rel=\"nofollow\">https:\/\/github.com\/cosimo\/perl5-http-dav<\/a> and <a href=\"https:\/\/metacpan.org\/module\/HTTP::DAV\" rel=\"nofollow\">https:\/\/metacpan.org\/module\/HTTP::DAV<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#39;s more than 3 years already that I took over maintainership for HTTP::DAV. I&#39;ve been fixing several bugs, last one today (and 0.45 is just out on CPAN), and I have to say that it was a fantastic exercise, that I really suggest to anyone even moderately interested in open source development and improving their [&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":[49,63,269,50,142,270],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Fixed temporary files handling in HTTP::DAV - 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\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fixed temporary files handling in HTTP::DAV - Random hacking\" \/>\n<meta property=\"og:description\" content=\"It&#039;s more than 3 years already that I took over maintainership for HTTP::DAV. I&#039;ve been fixing several bugs, last one today (and 0.45 is just out on CPAN), and I have to say that it was a fantastic exercise, that I really suggest to anyone even moderately interested in open source development and improving their [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/\" \/>\n<meta property=\"og:site_name\" content=\"Random hacking\" \/>\n<meta property=\"article:published_time\" content=\"2011-09-18T15:39:28+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\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/\"},\"author\":{\"name\":\"cosimo\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"headline\":\"Fixed temporary files handling in HTTP::DAV\",\"datePublished\":\"2011-09-18T15:39:28+00:00\",\"dateModified\":\"2011-09-18T15:39:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/\"},\"wordCount\":191,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"keywords\":[\"cpan\",\"github\",\"HTTP::DAV\",\"perl\",\"programming\",\"webdav\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/\",\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/\",\"name\":\"Fixed temporary files handling in HTTP::DAV - Random hacking\",\"isPartOf\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#website\"},\"datePublished\":\"2011-09-18T15:39:28+00:00\",\"dateModified\":\"2011-09-18T15:39:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.streppone.it\/cosimo\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fixed temporary files handling in HTTP::DAV\"}]},{\"@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":"Fixed temporary files handling in HTTP::DAV - 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\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/","og_locale":"en_US","og_type":"article","og_title":"Fixed temporary files handling in HTTP::DAV - Random hacking","og_description":"It&#39;s more than 3 years already that I took over maintainership for HTTP::DAV. I&#39;ve been fixing several bugs, last one today (and 0.45 is just out on CPAN), and I have to say that it was a fantastic exercise, that I really suggest to anyone even moderately interested in open source development and improving their [&hellip;]","og_url":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/","og_site_name":"Random hacking","article_published_time":"2011-09-18T15:39:28+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\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/#article","isPartOf":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/"},"author":{"name":"cosimo","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"headline":"Fixed temporary files handling in HTTP::DAV","datePublished":"2011-09-18T15:39:28+00:00","dateModified":"2011-09-18T15:39:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/"},"wordCount":191,"commentCount":0,"publisher":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"keywords":["cpan","github","HTTP::DAV","perl","programming","webdav"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/","url":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/","name":"Fixed temporary files handling in HTTP::DAV - Random hacking","isPartOf":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#website"},"datePublished":"2011-09-18T15:39:28+00:00","dateModified":"2011-09-18T15:39:28+00:00","breadcrumb":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/09\/fixed-temporary-files-handling-in-httpdav\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.streppone.it\/cosimo\/blog\/"},{"@type":"ListItem","position":2,"name":"Fixed temporary files handling in HTTP::DAV"}]},{"@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\/442"}],"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=442"}],"version-history":[{"count":0,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts\/442\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/media?parent=442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/categories?post=442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/tags?post=442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}