Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion template/python3-flask-armhf/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def fix_transfer_encoding():
@app.route("/", defaults={"path": ""}, methods=["POST", "GET"])
@app.route("/<path:path>", methods=["POST", "GET"])
def main_route(path):
raw_body = os.getenv("RAW_BODY")
raw_body = os.getenv("RAW_BODY", "false")

as_text = True

Expand Down
2 changes: 1 addition & 1 deletion template/python3-flask-debian/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def fix_transfer_encoding():
@app.route("/", defaults={"path": ""}, methods=["POST", "GET"])
@app.route("/<path:path>", methods=["POST", "GET"])
def main_route(path):
raw_body = os.getenv("RAW_BODY")
raw_body = os.getenv("RAW_BODY", "false")

as_text = True

Expand Down
2 changes: 1 addition & 1 deletion template/python3-flask/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def fix_transfer_encoding():
@app.route("/", defaults={"path": ""}, methods=["POST", "GET"])
@app.route("/<path:path>", methods=["POST", "GET"])
def main_route(path):
raw_body = os.getenv("RAW_BODY")
raw_body = os.getenv("RAW_BODY", "false")

as_text = True

Expand Down