Wrong mime type
Hi,
I have a repository containing several pdf documents. When I browse it via http and try opening a pdf, it won’t work because the server gives
Content-Type: text/plain
instead of application/pdf. I think, that’s the case for other file types as well – I tried opening a gif and it’s not working either.
Do I have a setting wrong? Is this a bug? Or might it even be a feature? ;-)
You do not have sufficient permissions to comment
12 years ago
Reply
rs on Mon 25 Jul, 2011
The trick is to set the
svn:mime-type
property for the file correctly. You can do this from any regular client.Some docs that might be useful: