Re: Setting content type in a resouce response

2013-04-19 Thread Josh Kamau
Hi David ; Thanks for your attempt to answer my question despite lack of information. I was accessing my clojure application via apache virtual host. Any html file served as a resource ends up with content type being "text/plain" . Without apache everything works fine. I ended up doing something

Re: Setting content type in a resouce response

2013-04-18 Thread David Della Costa
Hi Josh, you should post Ring-related questions here: https://groups.google.com/forum/?fromgroups#!forum/ring-clojure To answer your question, it's hard to say without seeing your code. In fact, I'm having a hard time reproducing the problem without explicitly telling ring to serve an HTML file

Setting content type in a resouce response

2013-04-18 Thread Josh Kamau
Hi there ; Please help. How do i set the ContentType header in a (ring.util.resouce/resource-response ) ? I am serving html file and its being served as plain text. Josh -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, sen