1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

api.go:108 Error parsing media type: error: mime: no media type

fix
This commit is contained in:
Victor Vieux 2013-10-16 19:32:03 +00:00
parent df697b4318
commit 104a86936a

View file

@ -801,6 +801,8 @@ func TestPostContainersStart(t *testing.T) {
t.Fatal(err)
}
req.Header.Set("Content-Type", "application/json")
r := httptest.NewRecorder()
if err := postContainersStart(srv, APIVERSION, r, req, map[string]string{"name": container.ID}); err != nil {
t.Fatal(err)