views:

11

answers:

0

Hi,

for a web application that is currently under development, I'm using Orbited to serve the static files. This works fine for .js and .css files, but it seems to have problems with displaying svg images that are embedded in html. Regardless of whether I call the svg file directly in the browser or calling the html which embeds the svg, the svg is not rendered at all (both, the html and svg file are listed in the static section of the orbited configuration file). I suspect the wrong Content-Type attribute in the http header to be the culprit of that, as the file renders fine when I open it directly from my file system (not serving it via Orbited).

Is there any way to configure Orbited so that it uses a different Content-Type for each static file listed?

related questions