[Project_owners] JavaScript files served with: ; content-type=text%2Fplain

Michael Vincent van Rantwijk, MultiZilla mv_van_rantwijk at yahoo.com
Sat Nov 24 01:34:35 PST 2007


Michael Vincent van Rantwijk, MultiZilla wrote:
> JavaScript files from:
> 
> http://www.mozdev.org/source/browse/multizilla/src/
> 
> are served with:
> 
> ;content-type=text%2Fplain
> 
> when I click on the "download" link, as if I clicked on a text link.
> 
> Can this somehow be changed because sometimes I want people to
> really download the file instead of viewing it as text in the
> browser/tab.

Here's an example link used for download links:

http://www.mozdev.org/source/browse/~checkout~/[projectname]/src/[path]/[filename].js?rev=N.n;content-type=text%2Fplain



-- 
Michael Vincent van Rantwijk
- MultiZilla Project Team Lead
- XUL Boot Camp Staff member (ActiveState Training Partner)
- iPhone Application Developer



More information about the Project_owners mailing list