I’m using rjs to do a google maps mashup. Problem is that I’m not
getting any response when I submit my query. According to firebug the
Content-Type is text/html which is where I’m guessing my problem is.
I’ve tried a few ways to force it to text/javascript including putting
this in my controller:
@headers[‘Content-Type’] = ‘text/javascript; charset=utf-8’
When I do that, however, my page just shows up as the actual code
ie…
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<link rel="shortcut icon" href="/images/favicon.ico" >
…snip…
Did I miss something simple? Happens on both lighttpd and webrick…
Thanks in advance…