Coder Social home page Coder Social logo

Comments (7)

TY48 avatar TY48 commented on May 5, 2024 6

You can try this in main.py

import meinheld
meinheld.set_max_content_length(2**10 * 2**10 * 2**10 * 1) # 1 GB

from meinheld-gunicorn-flask-docker.

r1n9w0rm avatar r1n9w0rm commented on May 5, 2024 2

I'm still having this issue after using the code in my main.py that @TY48 recommended.

from meinheld-gunicorn-flask-docker.

tiangolo avatar tiangolo commented on May 5, 2024 1

Thanks for the help here @TY48 ! 👏 🙇

Thanks for reporting back and closing the issue @OneTesseractInMultiverse 👍

from meinheld-gunicorn-flask-docker.

rebecca-v avatar rebecca-v commented on May 5, 2024

I'm currently using this image to run a Flask-based application that processes some large JSON files, but it is giving me HTTP 413 error. Which would be the best way to increase the Request Entity Size Limit?

same here! did you find a solution?

from meinheld-gunicorn-flask-docker.

rebecca-v avatar rebecca-v commented on May 5, 2024

Perfect! Thank you so much, very appreciated

from meinheld-gunicorn-flask-docker.

OneTesseractInMultiverse avatar OneTesseractInMultiverse commented on May 5, 2024

Thanks! I think it works :)

from meinheld-gunicorn-flask-docker.

tiangolo avatar tiangolo commented on May 5, 2024

@r1n9w0rm please create a new GitHub issue, following the template that will guide you to structure the question in a way that makes it easier to understand your intention and need, to be able to help you better. And also providing a self-contained, minimal, reproducible, example that I can copy-paste to replicate it.

Sorry for the long delay! 🙈 I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.

from meinheld-gunicorn-flask-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.