perkeep/pkg/misc
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
..
amazon/s3 httputil: add DecodeJSON and CloseBody helpers, then use them everywhere 2014-01-28 22:00:52 -08:00
closure Add jstests.go, a unit test harness for JavaScript files. 2014-01-06 20:21:43 -08:00
gpgagent appengine: fix build issues 2013-08-11 19:42:57 +02:00
pinentry More docs. Every package is documented now. 2013-07-07 21:12:30 -07:00
misc.go Change self-signed cert fingerprint to 80 bits of SHA-256. 2014-01-04 16:37:33 -08:00