CherryPy - Do people actually try to see if something works before
implementing it? Is it not complete? I have found two major, yet *easy*
to fix errors with CherryPy that will make certain features not work,
and I've only just begun using beyond what
average-joe-screencast-watcher uses.

For example (my most major gripe):

return serveFile([...])

Does not work like it should. When the file is unmodified (I know
there's a ticket for this...) it returns a list or something like that,
yet, still sets the headers for content disposition, content length,
all that jazz, so... what? Manually reset them before returning the
correct headers (304 Not Modified)?

Also, when it *does* work, if your filename contains spaces, it doesn't
send you a working file. Sure, if the downloader were to *know* what
file type they were getting, they could add the extension. This is
ridiculously easy to fix:

http://www.turbogears.org/docs/api/source/cherrypy.lib.cptools-module.html#262

Simply double-quote the filetype param of the Content-Disposition
header. I mean, seriously... Even the FileUploadTutorial doesn't
address this. If someone were to be trying Turbogears out and file
uploading/download were important to them... odds are they'll try
something with a space in. Oops, **** that, it doesn't work.

Sorry for the rant, but honestly, this is really frustrating.

-Sam


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to