I see your edits, much obliged to you Chris,
Ian.
On 23 Jan, 22:57, Christopher Arndt <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schrieb:
>
>
>
> > The fix to uploadfilter.py for CherryPy 2.3.0 is to remove line 223:
> > if upload_maxsize:
> > upload_maxsize *= 1024
> > cherrypy.thread_data.upload_maxsize = upload_maxsize
> > size = float(cherrypy.request.headers['Content-length'])
> > if size > upload_maxsize:
> > raise Upload_MaxSizeError
> > cherrypy.request.rfile = cherrypy.request.rfile.rfile # REMOVE
> > THIS LINE (line 223)
>
> > For configuration I noted that for files <100mb the uploads are fine,
> > for files >100mb a HTTPError(413) is raised. The fix is to add
> > server.max_request_body_size to your dev.cfg/prod.cfg e.g.:
> > server.max_request_body_size = 500000000 # 500mb, specified in bytes
>
> > Comments on the docs.turbogears page are closed - if I ought to raise
> > a ticket somewhere (Florent?) then just point me in the right
> > direction.
>
> I'll take care of updating the page and the attachment.
>
> Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---