Example #1
0
def xml_catalog():
    xml = dict2xml(vh.serialize_catalog(), wrap="Catalog")
    response = make_response(xml)
    response.headers['Content-Type'] = 'application/xml'
    return response
Example #2
0
def xml_catalog():
    xml = dict2xml(vh.serialize_catalog(), wrap="Catalog")
    response = make_response(xml)
    response.headers['Content-Type'] = 'application/xml'
    return response
Example #3
0
def json_catalog():
    return jsonify(vh.serialize_catalog())
Example #4
0
def json_catalog():
    return jsonify(vh.serialize_catalog())