diff --git a/docs/spec/api.md b/docs/spec/api.md index b8a3df99..a4370c24 100644 --- a/docs/spec/api.md +++ b/docs/spec/api.md @@ -3393,7 +3393,7 @@ POST /v2//blobs/uploads/?digest= Host: Authorization: Content-Length: -Content-Type: application/octect-stream +Content-Type: application/octet-stream ``` diff --git a/registry/api/v2/descriptors.go b/registry/api/v2/descriptors.go index 8622d0d2..9d1cfdb8 100644 --- a/registry/api/v2/descriptors.go +++ b/registry/api/v2/descriptors.go @@ -987,7 +987,7 @@ var routeDescriptors = []RouteDescriptor{ }, }, Body: BodyDescriptor{ - ContentType: "application/octect-stream", + ContentType: "application/octet-stream", Format: "", }, Successes: []ResponseDescriptor{