Imports github.com/Sirupsen/logrus github.com/docker/docker/pkg/tarsum github.com/docker/docker/utils github.com/gorilla/mux github.com/docker/docker/pkg/httputils Standard library imports bytes crypto/tls crypto/x509 encoding/base64 encoding/hex encoding/json errors fmt io io/ioutil net net/http net/url os path regexp strconv strings time crypto/sha512 crypto/sha256 net/http/cookiejar