mirror of
https://github.com/balkian/gists.git
synced 2024-11-22 17:52:27 +00:00
0c1d679eb2
git-subtree-dir: repos/6b6906b97267a0c5ac52 git-subtree-mainline:73c547ec0c
git-subtree-split:f223e35140
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)
|