Etags must be quoted according to http spec
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
984037f7fc
commit
338e645f20
5 changed files with 16 additions and 14 deletions
|
@ -430,7 +430,7 @@ func addTestManifestWithEtag(repo, reference string, content []byte, m *testutil
|
|||
Method: "GET",
|
||||
Route: "/v2/" + repo + "/manifests/" + reference,
|
||||
Headers: http.Header(map[string][]string{
|
||||
"Etag": {dgst},
|
||||
"Etag": {fmt.Sprintf(`"%s"`, dgst)},
|
||||
}),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue