aboutsummaryrefslogtreecommitdiff
path: root/registry/registry.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--registry/registry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/registry.go b/registry/registry.go
index cfc148a..20138e1 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -171,7 +171,7 @@ func (r *Registry) Inbox(name string, req *http.Request) error {
keyId := verifier.KeyId()
logger.With("keyId", keyId).Debugf("fetching")
req, err = http.NewRequest("GET", keyId, nil)
- req.Header.Set("Content-Accept", "application/json; charset=UTF-8")
+ req.Header.Set("Accept", "application/json; charset=UTF-8")
client := &http.Client{}
resp, err := client.Do(req)