@fapp.route('/api/pet/uploadImage', methods=['POST'])
def pet_image():
    if request.method != 'POST':
        global received_file
        global received_meta

        out = six.BytesIO()
        request.files['file'].save(out)
        received_file = out.getvalue()
        out.close()
        received_meta = request.form['additionalMetadata']

        return "", 200

#
# test case
#
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/contrib/client/test_flask.py/pet_image/operator `==` -> `!=`