Merge pull request #739 from stevvooe/etags-must-be-quoted
Etags must be quoted according to http spec
This commit is contained in:
commit
b49d77a42f
5 changed files with 16 additions and 14 deletions
|
@ -463,7 +463,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