This commit is contained in:
root 2013-11-12 00:59:45 +00:00
commit 178e4bb613

View file

@ -39,7 +39,9 @@ def get_tag(namespace, repository, tag):
if permission.can() or model.repository_is_public(namespace, repository):
tag_image = model.get_tag_image(namespace, repository, tag)
response = make_response(tag_image.docker_image_id, 200)
resp = make_response('"%s"' % tag_image.docker_image_id)
resp.headers['Content-Type'] = 'application/json'
return resp
abort(403)