This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/app.py

13 lines
323 B
Python

from flask import Flask, make_response, jsonify
from flask.ext.principal import Principal
app = Flask(__name__)
Principal(app, use_sessions=False)
@app.route('/_ping')
@app.route('/v1/_ping')
def ping():
response = make_response('true', 200)
response.headers['X-Docker-Registry-Version'] = '0.6.0'
return response