Johan Sandén
2016-07-13 11:17:35 UTC
Im using Bottle with waitress as server, like this:
bottle.run(server='waitress', host=host, port=port)
I want be able to upload (post) a file that can be 4GB, so I have tried to
set the MEMFILE_MAX like this:
import bottle
bottle.BaseRequest.MEMFILE_MAX = 4294967296
...but i still get error:
Tue Jul 12 16:55:57 CEST 2016
Request Entity Too Large
exceeds max_body of 1073741824
(generated by waitress)
I have found that it is value of max_request_body_size in waitress that has
to be change, but I can't find a way to do that from bottle.
--
bottle.run(server='waitress', host=host, port=port)
I want be able to upload (post) a file that can be 4GB, so I have tried to
set the MEMFILE_MAX like this:
import bottle
bottle.BaseRequest.MEMFILE_MAX = 4294967296
...but i still get error:
Tue Jul 12 16:55:57 CEST 2016
Request Entity Too Large
exceeds max_body of 1073741824
(generated by waitress)
I have found that it is value of max_request_body_size in waitress that has
to be change, but I can't find a way to do that from bottle.
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.