From 979d2c5e0f8188840bbc1c99daed470e20c5eabc Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Tue, 3 Jan 2023 22:38:27 -0500 Subject: fix typo --- registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry/registry.go') 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) -- cgit v1.2.3