Imports github.com/joyent/gocommon/http github.com/joyent/gocommon/client github.com/joyent/gocommon/errors Standard library imports bytes fmt io io/ioutil net/http path time