New Zenner
- Join Date:
- Aug 2006
- Posts:
- 56
- Plugin Contributions:
- 0
Downloads
There seem to be few problems with downloads. Perhaps this is my misconception, let me know if this is so.
- headers are always sent, but have no effect unless DOWNLOAD_BY_REDIRECT is false.
- when DOWNLOAD_BY_REDIRECT is false, data is always sent with Application/octet-stream. in my case, files are images and I am required to display them in the browser; with that said, there could be other media types in near future. meaning: headers must be configureable via attributes controller in one way or another, like file name is.
- speaking of file names, Content-disposition doesn't seem to do the trick, IE keeps suggesting "index.jpg" (I'm looking into this issue right now).
- when DOWNLOAD_BY_REDIRECT is true, I can't find any code that removes symlinks. where is it?
- also, I keep thinking what can be done with "no-cache" headers in case of multiple/unlimited downloads.
The reason why I am posting this thread here, is because I am going to have to change this code any way, so I thought that perhaps team/community might be interested in these changes, and coordinate my changes before I made them.
Thanks for consideration.