0

I am using mod_proxy_html and the AJAX response is wrapped inside HTML

<html>
  <body>
    <p>AJAX RESPONSE</p>
  </body>
</html>

This is done by mod_proxy_html and I want to avoid this happening.

1 Answers1

0

In general mod_proxy_html is only supposed to act on responses with Content-Type set to text/html or application/xhtml+xml: maybe you can change your Ajax response's content type?

Femi
  • 64,273
  • 8
  • 118
  • 148