diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-04 03:38:27 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-04 03:38:27 +0000 |
commit | 979d2c5e0f8188840bbc1c99daed470e20c5eabc (patch) | |
tree | e033ac1e3d7ed15df843653d2ec95e8c712fd22a /registry | |
parent | 31ff72e2c533e005b7013aa80b820d046c0ba02e (diff) | |
download | communique-979d2c5e0f8188840bbc1c99daed470e20c5eabc.tar.gz |
fix typo
Diffstat (limited to 'registry')
-rw-r--r-- | registry/registry.go | 2 |
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) |