mirror of
https://github.com/simon987/od-database.git
synced 2025-12-14 15:19:03 +00:00
Request content is read all at once
This commit is contained in:
13
test/webserver.py
Normal file
13
test/webserver.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from flask import Flask, send_file
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
@app.route("/test1/")
|
||||
def test1():
|
||||
return send_file("files/apache_table.html")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run("0.0.0.0", port=8888, threaded=True)
|
||||
|
||||
Reference in New Issue
Block a user