在用jsoup模拟使用安卓手机访问app时,它的Content-Type是application/json类型的,在设置完后报错Unhandled content type. Must be text/*, application/xml, or application/xhtml+xml
解决方法:同时设置一下 **.ignoreContentType(true)**就好了
在用jsoup模拟使用安卓手机访问app时,它的Content-Type是application/json类型的,在设置完后报错Unhandled content type. Must be text/*, application/xml, or application/xhtml+xml
解决方法:同时设置一下 **.ignoreContentType(true)**就好了