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
I am using a cloud based build system (wercker) pushing docker images to a cloud registry (bintray). Wercker is using your library under the hood, and after some hours of troubleshooting, i have come to the conclusion that you are not sending "content-type=application/json" in the headers on your REST calls.
From what I can gather, when looking at the docs over here: https://docs.docker.com/v1.6/reference/api/registry_api/
It seems that they imply that all requests should have a content type header, and my guess would be that the guys over at bintray.com have elected to enforce that.
Can you please modify your code to send content-type headers?
Thanks,
Emil
The text was updated successfully, but these errors were encountered:
Hello,
I am using a cloud based build system (wercker) pushing docker images to a cloud registry (bintray). Wercker is using your library under the hood, and after some hours of troubleshooting, i have come to the conclusion that you are not sending "content-type=application/json" in the headers on your REST calls.
I have a super trivial example here:
So when inspecting the calls on the server side, it kind of looks like this:
From what I can gather, when looking at the docs over here:
https://docs.docker.com/v1.6/reference/api/registry_api/
It seems that they imply that all requests should have a content type header, and my guess would be that the guys over at bintray.com have elected to enforce that.
Can you please modify your code to send content-type headers?
Thanks,
Emil
The text was updated successfully, but these errors were encountered: