Welcome Guest, Not a member yet? Register   Sign In
From Http to Https - Now browser gives ERR_CONTENT_DECODING_FAILED error in console
#1
Photo 
(This post was last modified: 04-04-2016, 01:09 PM by MasoodRehman.)

Hello,

I have recently shift my site from http to https before shifting the site was working perfectly on http, now on https it gives errors like
one of my controller method echoing json response when browser request to that method it showing me the following error message in console, and i am using gzip for file compression.

    ERR_CONTENT_DECODING_FAILED

Some one says that it happens when your HTTP request's headers claim that the content is gzip encoded, but it isn't. Turn off gzip encoding setting or make sure the content is in fact encoded. So the following is request/response header


   


Currently i am handling routing through .htaccess, is there any method in codeigniter that automate my redirection process and change the base url according to the protocol from http to https and vice versa.

Thank you.
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



Theme © iAndrew 2016 - Forum software by © MyBB