php - 'error' tag replacing with some 'meta refresh' tag -


i'm making https request in android, , response this:

  • {"responsecode":52145,"errors":{"error":"some error","description":"some description"}}

now iphone client or postman client on browser, coming expected. in android, getting:

  • {"responsecode":52145,"errors":{"<meta http-equiv="refresh" content="5; url=mydomain">":"some error","description":"some description"}}

difference:

"error" getting replaced "<meta http-equiv="refresh" content="5; url=mydomain">" 

my https headers are:

accept = application/json user-agent = android 

if use http instead of https fine. makes me believe there on server side related security thing.

main thing curios "error" tag getting replaced, using "errors" ok.

while not replacing @ end, server guy make sure sending correct value. highly appreciated.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -