mirror of
https://github.com/balkian/gists.git
synced 2025-07-03 22:32:25 +00:00
git-subtree-dir: repos/6b6906b97267a0c5ac52 git-subtree-mainline: 73c547ec0c8860f6f5d5548a03330c7de823efd0 git-subtree-split: f223e351402a52e6480d962ed72b31afa453b683
16 lines
320 B
Python
16 lines
320 B
Python
#!/usr/bin/python
|
|
from flask import Flask, request, Markup
|
|
|
|
app = Flask("prueba")
|
|
|
|
@app.route("/")
|
|
def home():
|
|
args = ("<pre>")
|
|
for i in request.args:
|
|
a = request.args[i]
|
|
args += u"{} [{}]: {}\n".format(i, Markup.escape(str(type(a))), a)
|
|
args += "</pre>"
|
|
return args
|
|
|
|
app.run(debug=True)
|