From Http to Https - Now browser gives ERR_CONTENT_DECODING_FAILED error in console |
Hi TPojka thanks for your reply,
I had tried those links before posting this thread here actually i overcome the issue as for as my issue was concern the error message was showing in the browser console is due to the json response from controller method to caller ajax method. I was echoing the response in controller method like the following echo json_encode($data); As i replace the above line with the following using proper output class of codeigniter, then the error resolved $this->output->set_content_type('application/json'); $this->output->set_output(json_encode($data)); I think there is issue between gzip compression on https and ajax method, by echoing json response it not properly working because i was using this method on http there were no issue. Thanks once again for your reply. |
Messages In This Thread |
From Http to Https - Now browser gives ERR_CONTENT_DECODING_FAILED error in console - by MasoodRehman - 04-03-2016, 04:58 AM
RE: From Http to Https - by Tpojka - 04-03-2016, 06:16 AM
RE: From Http to Https - by MasoodRehman - 04-03-2016, 09:40 AM
RE: From Http to Https - by MasoodRehman - 04-03-2016, 12:38 PM
RE: From Http to Https - by Tpojka - 04-03-2016, 12:59 PM
RE: From Http to Https - by MasoodRehman - 04-04-2016, 12:58 PM
RE: From Http to Https - Now browser gives ERR_CONTENT_DECODING_FAILED error in console - by Tpojka - 04-04-2016, 01:27 PM
RE: From Http to Https - Now browser gives ERR_CONTENT_DECODING_FAILED error in console - by MasoodRehman - 04-04-2016, 08:42 PM
RE: From Http to Https - Now browser gives ERR_CONTENT_DECODING_FAILED error in console - by InsiteFX - 04-04-2016, 04:35 PM
RE: From Http to Https - Now browser gives ERR_CONTENT_DECODING_FAILED error in console - by MasoodRehman - 04-04-2016, 08:43 PM
|