{"action":"created","issue":{"url":"https://api.github.com/repos/twogee/ant-http/issues/20","labels_url":"https://api.github.com/repos/twogee/ant-http/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/twogee/ant-http/issues/20/comments","events_url":"https://api.github.com/repos/twogee/ant-http/issues/20/events","html_url":"https://github.com/twogee/ant-http/issues/20","id":75646997,"number":20,"title":"[CLOSED] Optionally skip HTTP GET if outFile already exists","user":{"login":"twogee","id":3464244,"avatar_url":"https://avatars.githubusercontent.com/u/3464244?v=3","gravatar_id":"","url":"https://api.github.com/users/twogee","html_url":"https://github.com/twogee","followers_url":"https://api.github.com/users/twogee/followers","following_url":"https://api.github.com/users/twogee/following{/other_user}","gists_url":"https://api.github.com/users/twogee/gists{/gist_id}","starred_url":"https://api.github.com/users/twogee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twogee/subscriptions","organizations_url":"https://api.github.com/users/twogee/orgs","repos_url":"https://api.github.com/users/twogee/repos","events_url":"https://api.github.com/users/twogee/events{/privacy}","received_events_url":"https://api.github.com/users/twogee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twogee/ant-http/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/twogee/ant-http/labels/Milestone-1.1.3","name":"Milestone-1.1.3","color":"ededed"},{"url":"https://api.github.com/repos/twogee/ant-http/labels/OpSys-All","name":"OpSys-All","color":"ededed"},{"url":"https://api.github.com/repos/twogee/ant-http/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/twogee/ant-http/labels/Project-ant-http","name":"Project-ant-http","color":"ededed"},{"url":"https://api.github.com/repos/twogee/ant-http/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-12T15:47:55Z","updated_at":"2015-05-12T15:48:01Z","closed_at":null,"body":"<a href=\"https://github.com/GoogleCodeExporter\"><img src=\"https://avatars.githubusercontent.com/u/9614759?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [GoogleCodeExporter](https://github.com/GoogleCodeExporter)**\n_Monday May 11, 2015 at 22:05 GMT_\n_Originally opened as https://github.com/twogee/missing-link/issues/20_\n\n----\n\n```\nSometimes I don't want to do a HTTP GET if the target file already exists, e.g. \nI've called GET apache-tomcat.zip from Maven Repo1, I want to skip GETs for the \nsame resource in the future as I can guarantee it will be unchanged. \n\nIt would be good if I could specify an \"update\" boolean attribute when \nperforming GETs, e.g. \n\n<http method=\"GET\" url=\"@{url}\" outfile=\"@{toFile}\" printrequest=\"false\" \nprintresponse=\"false\" printrequestheaders=\"false\" printresponseheaders=\"false\" \nupdate=\"@{update}\"/>\n```\n\nOriginal issue reported on code.google.com by `stephens...@googlemail.com` on 9 Aug 2011 at 1:41\n"},"comment":{"url":"https://api.github.com/repos/twogee/ant-http/issues/comments/101327293","html_url":"https://github.com/twogee/ant-http/issues/20#issuecomment-101327293","issue_url":"https://api.github.com/repos/twogee/ant-http/issues/20","id":101327293,"user":{"login":"twogee","id":3464244,"avatar_url":"https://avatars.githubusercontent.com/u/3464244?v=3","gravatar_id":"","url":"https://api.github.com/users/twogee","html_url":"https://github.com/twogee","followers_url":"https://api.github.com/users/twogee/followers","following_url":"https://api.github.com/users/twogee/following{/other_user}","gists_url":"https://api.github.com/users/twogee/gists{/gist_id}","starred_url":"https://api.github.com/users/twogee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twogee/subscriptions","organizations_url":"https://api.github.com/users/twogee/orgs","repos_url":"https://api.github.com/users/twogee/repos","events_url":"https://api.github.com/users/twogee/events{/privacy}","received_events_url":"https://api.github.com/users/twogee/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T15:48:00Z","updated_at":"2015-05-12T15:48:00Z","body":"<a href=\"https://github.com/GoogleCodeExporter\"><img src=\"https://avatars.githubusercontent.com/u/9614759?v=3\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [GoogleCodeExporter](https://github.com/GoogleCodeExporter)**\n_Monday May 11, 2015 at 22:05 GMT_\n\n----\n\n```\nThanks you\n\nIman Tidung\n```\n\nOriginal comment by `imancahy...@gmail.com` on 17 Oct 2013 at 4:02\n\nAttachments:\n* [Imantidung.jpeg](https://storage.googleapis.com/google-code-attachments/missing-link/issue-20/comment-8/Imantidung.jpeg)\n\n"}}