You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the content type header to blob upload endpoints with language about what the value should be. In the case of blobs, the content type should be ignored and this is best represented as using the application/octet-stream Content-Type. Any other types will be ignored by a registry and not be reflected when that blob is pulled.
I don't think a 415 return status is appropriate when application/octet-stream is not used. We should explicitly call that out since ignored != unsupported. Ping @rchincha
The text was updated successfully, but these errors were encountered:
So when pushing Content-Type is just an opaque label. However, not clear from your comment above on what the behavior should be a client pulls with an Accept? If this header not present, then return whatever it was pushed with. But if present and pull(Accept) != pushed(Content-Type), what happens?
Add the content type header to blob upload endpoints with language about what the value should be. In the case of blobs, the content type should be ignored and this is best represented as using the
application/octet-stream
Content-Type. Any other types will be ignored by a registry and not be reflected when that blob is pulled.I don't think a 415 return status is appropriate when
application/octet-stream
is not used. We should explicitly call that out since ignored != unsupported. Ping @rchinchaThe text was updated successfully, but these errors were encountered: