Hey guys,
I've been having some trouble with OpenLiteSpeed 1.4.23 Ajax calls returning 2 Content-Type values which causes my WHMCS client area to go hay-wire. I've also contacted WHMCS support in regards to this issue and they have recommended me to contact Litespeed in regards to the case as Apache isn't being affected this issue.
The expected Content-Type value in the ajax call response headers are:
However your server is returning:
Another user reported the same problem:
https://www.litespeedtech.com/support/forum/threads/litespeed-issue-with-json.6217/
Is there a way to stop Litespeed from serving the ajax content with the text/html content-type?
Thanks so much for any help and responses.
I've been having some trouble with OpenLiteSpeed 1.4.23 Ajax calls returning 2 Content-Type values which causes my WHMCS client area to go hay-wire. I've also contacted WHMCS support in regards to this issue and they have recommended me to contact Litespeed in regards to the case as Apache isn't being affected this issue.
The expected Content-Type value in the ajax call response headers are:
Code:
Content-Type:application/json
Code:
content-type:text/html; charset=utf-8
content-type:application/json
https://www.litespeedtech.com/support/forum/threads/litespeed-issue-with-json.6217/
Is there a way to stop Litespeed from serving the ajax content with the text/html content-type?
Thanks so much for any help and responses.
Last edited: