aboutsummaryrefslogtreecommitdiff
path: root/registry/registry.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-04 03:38:27 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-04 03:38:27 +0000
commit979d2c5e0f8188840bbc1c99daed470e20c5eabc (patch)
treee033ac1e3d7ed15df843653d2ec95e8c712fd22a /registry/registry.go
parent31ff72e2c533e005b7013aa80b820d046c0ba02e (diff)
downloadcommunique-979d2c5e0f8188840bbc1c99daed470e20c5eabc.tar.gz
fix typo
Diffstat (limited to 'registry/registry.go')
-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)