GetJSON/GetCSV: Add retry on invalid content
authorCyrill Schumacher <cyrill@schumacher.fm>
Thu, 28 May 2015 05:36:06 +0000 (15:36 +1000)
committerbep <bjorn.erik.pedersen@gmail.com>
Mon, 1 Jun 2015 10:05:16 +0000 (12:05 +0200)
commitcc5d63c37ae0b7387864a81b4ae6e0fc2895f8a3
tree779aee7bed0fcb265bf6222de87f99eae4b0412b
parentbe38acdce7bd74b749929c4360c4099a80a774d7
GetJSON/GetCSV: Add retry on invalid content

The retry gets triggered when the parsing of the content fails.

Fixes #1166
tpl/template_resources.go
tpl/template_resources_test.go