Long URLs works with Python requests but not CURL or web browsers (nginx-uwsgi-django) Long URLs works with Python requests but not CURL or web browsers (nginx-uwsgi-django) nginx nginx

Long URLs works with Python requests but not CURL or web browsers (nginx-uwsgi-django)


If I specified --http1.1 in the CURL request, it worked! The problem was with http2. Found the solution here: https://phabricator.wikimedia.org/T209590

I had to increase the http2_max_field_size and http2_max_header_size in my nginx config.