Ajax call is not interpreted as an ajax call
I'm having an issue which only appears with LSWS. I have a rails 1.2 app on LSWS 2.2.2 with LSAPI (which also hosts another rails app). Everything works perfectly fine, except Ajax calls : they all render non-ajax versions of the pages. I have the feeling that the application does not receive one of the headers (maybe X-Requested-With).
Here are the typical headers sent by the client on these requests:
User-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:18.104.22.168) Gecko/20070219 Firefox/22.214.171.124
Content-Type application/x-www-form-urlencoded; charset=UTF-8
Did anyone meet this issue ?
Is there something to configure at LSWS level with regards to the headers ?