[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [svn] viewing of html files via browser

From: Mark Reibert <svn_at_reibert.com>
Date: 2007-08-31 08:39:24 CEST

On Fri, 2007-08-31 at 07:55 +0200, Rainer Sokoll wrote:
> > So, you are saying that as long as the CSS files have the correct mime
> > type, mod_dav_svn will will render the HTML file with the referenced
> > CSS? I did not expect that (but I have not tried it either).
>
> I would expect that.
> The Browser issues "GET foo.html". foo.html contains a link to bar.css,
> therefore the browser has to make an additional "GET bar.css" - and
> subversion will happily deliver bar.css. As long as both files are
> delivered with the correct MIME type, the browser will render them.

Hmm, I guess since the HTML <link rel="stylesheet" ... /> tags typically
contain a type="text/css" attribute, I thought having svn:mime-type on
the CSS would not matter. But now I am curious!

-- 
----------------------
Mark S. Reibert, Ph.D.
svn@reibert.com
----------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 31 08:36:42 2007

This is an archived mail posted to the Subversion Users mailing list.