perkeep/pkg/importer
Brad Fitzpatrick eb27581da7 httputil: add DecodeJSON and CloseBody helpers, then use them everywhere
httputil.CloseBody closes a http.Response.Body nicely, such that it's
more likely to be re-used.

httputil.DecodeJSON parses JSON from a Response.Body and closes the
body. It also keeps a temporary copy of the input, for error messages.

Then use them everywhere, to improve HTTP TCP connection re-use.

And misc other clean-ups.

Change-Id: I5dc44be0165b13659459ed29ce5ab44c17d9739f
2014-01-28 22:00:52 -08:00
..
dummy dummy importer: upload a file and make a node. 2013-11-21 17:51:13 -08:00
flickr httputil: add DecodeJSON and CloseBody helpers, then use them everywhere 2014-01-28 22:00:52 -08:00
foursquare Start of Foursquare importer. 2014-01-14 20:45:23 -08:00
importer.go Start of Foursquare importer. 2014-01-14 20:45:23 -08:00