Set the svn:mime-type property on the file.

"[...]if the svn:mime-type property is set, then the Subversion Apache
module will use its value to populate the Content-type: HTTP header
when responding to GET requests. This gives your web browser a crucial
clue about how to display a file when you use it to peruse your
Subversion repository's contents."

from 
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.file-portability.html#svn.advanced.props.special.mime-type






2010/1/25 Ondra Žižka <[email protected]>:
> Hi,
>
> I have a JNLP file in SVN, to let the users try the project without
> instalation.
> But browsers need this file to be served with Content-Type: text/xml
> to launch it with Java WebStart.
>
> How can I achieve this?
>
> If not, I suggest you to add Type-JNLP to the predefined downlaod type
> labels and treat it specially when downloading. Is that possible?
>
> Thank you for this great project!
> Ondra Zizka
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Project Hosting on Google Code" 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/google-code-hosting?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Hosting on Google Code" 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/google-code-hosting?hl=en.

Reply via email to