2023-06-16 14:24:19 +03:00
|
|
|
from app import app
|
|
|
|
from flask import Response, request
|
|
|
|
|
|
|
|
|
|
|
|
@app.route("/post_large", methods=["POST"])
|
|
|
|
def post_large():
|
|
|
|
data = request.data
|
|
|
|
assert len(data) == 15728640
|
2023-06-16 01:01:45 +03:00
|
|
|
return Response(f"{len(data)}", status=200)
|