Author Message
DmitrySenashenko3
Joined: Aug 28, 2019
Messages: 62
Offline
Hello,
I got following issue:
I am doing GET or REST request.
Content-type is application/json.
If server has correct response then it returns content-type application/json and everything is going correctly next.
But intermittently the server has some issues and then it returns "Server Internal Error". This error is standard and it is xml.
And the server returns content-type - html/xml. And then application tries to do call of webservice with new content-type.
But it is wrong.
If I do POST then I am getting exception which can be serve.
If I do GET then I got just BadFetch because App tries to do call of webservice with wrong content type.
Why framework changes content type? How to manage this?
Thank you.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
What version of OD are you using?
DmitrySenashenko3
Joined: Aug 28, 2019
Messages: 62
Offline
I found root reason if the issue. Thank you.
Go to:   
Mobile view