I have some really magic issue. Everything is for android 8 (oreo):
I make some requests using retrofit2 to my server. Sometime I shoul have error responce from server with 500 status code and json body. If I make requests via wi-fi, everything works fine. But when I make requests via mobile data, I see that Content-Type of my responce is text/vnd.wap.wml and the responce is
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/wml_1.1.xml>
<wml>
<card id="card1" title="ERROR">
<p>
The requested item could not be loaded!<br/>(Status Code 500)
<do type="prev" label="back">
<prev/>
</do>
</p>
</card>
</wml>
I am sure that this is not responce from server, because there is no such message on server and I see, that server sends me correct json. Got this error only when http. Via https everything wirks fine.
Any ideas? I have nothing.