![]() |
JSON problem ?
Hello,
I have server has been build apache with mod_php. Installed litespeed 4.1.7 std. I have 1 magento website, and use json and it works ok on Chrome, but no on Firefox : Response Headers Server Apache/2.2.3 (CentOS) Content-Length 53 Content-Type application/x-json Content-Type text/html; charset=UTF-8 Content-Length 53 Server LiteSpeed I added json = application/json to mime.properties but no luck. Is there litespeed not support json application ? Regards, OS : Centos 5.6 Apache : 2.2.3 PHP : 5.3.8 |
you mean 'json=application/x-json'? lsws should send content-type header once defined. make sure restart the service to make it effective.
|
Sr, I typed wrong, when I add json = application/x-json or json = text/x-json, lsws throw php file to download.
|
how about:
json = application/json Quote:
|
I've the same problem with litspeed. It's not passing through the application/json header.
Instead it is returning the text/html everytime |
make sure json is defined in mime.types http://www.litespeedtech.com/docs/we.../general/#mime
Edit: also upgrade to the latest 4.1.13 and see any difference. |
| All times are GMT -7. The time now is 01:13 PM. |