<p dir="auto">I am trying to send a csv file as a base64 encoded string in the body of a post request to a flask server. It works find for small files. But when I try to post a file above ~150k the server does not respond and there is no error message. It seems to get hung up on <code class="notranslate">body = request.get_json()</code>. This non-responsiveness happens through postman and node. To throw a wrench into the problem, I can submit the file fine using pythons requests library. I am not sure what is causing this or what the difference between the three requests. The headers all look really similar and are included in the repo. I have included the minimal server (server.py), working python request (test.py), the not working node request (jstest.js) and the not working postman collection. Thanks for any help.</p>
<p dir="auto">Here is a simple reproduction MCVE <a href="https://github.com/mdemin914/flask-largeish-csv-file-error-reproduction">https://github.com/mdemin914/flask-largeish-csv-file-error-reproduction</a></p>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Python version: 2.7.13</li>
<li>Flask version: 0.12.2</li>
<li>Werkzeug version: 0.14.1</li>
</ul>
<p dir="auto">from app.controllers.dashboard.admin import dashboard1<br>
from app.controllers.dashboard.supply import dashboard2</p>
<p dir="auto">app.register_blueprint(dashboard1, subdomain='admin')<br>
app.register_blueprint(dashboard2, subdomain='supply')</p>
<p dir="auto">but</p>
<p dir="auto">@dashboard2.route('/')<br>
def index():<br>
return url_for('company.index')<br>
is always appear that "<a href="http://admin.domain.com:5000/company" rel="nofollow">http://admin.domain.com:5000/company</a>"</p>