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