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

10 lines
No EOL
245 B
Python

from flask import Flask, make_response, jsonify
app = Flask(__name__)
@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