|
I'm trying to serve up an SVG image from within an app. The SVG file is in Does anyone know how to override the default behaviour and tell SplunkWeb (or CherryPy?) to set the correct Content-Type of |
|
After beating my head against this for quite a while, the following seems to work if you have at least one custom module being loaded. In the module's python code:
The upshot is that SplunkWeb is calling This still isn't an ideal solution, since it requires mucking about with module python code. Anyone have a more generic approach? |
