On Thu, Feb 25, 2016 at 12:40 PM, lindolfo caetano <lindolfocaetano@gmail.com> wrote:
I'm trying to send a json post for a view, but when it exceeds 50mb it does not work.
How configure django to receive post of large files and upload of a large files.
Without knowing your setup, it's hard to say. Normally the upload of files is handled by the web server and not Django directly. Do your web server logs mention the issue? It's possible there are upload limits within the server config.
You may also want to look into HTTP chunked transfer encoding, implemented via a JS library: https://en.wikipedia.org/wiki/Chunked_transfer_encoding
Given that you are uploading a text file with many repeatable characters, you may find a large benefit with compression as well.
-James
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciW46E7PHuyJd_J6vp2OSajtML2YV5rCRYd4RTLyrE2HZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment