更新时间:2022-05-29 07:09:55
使用4 **错误HTTP代码时
In case of 4** Error HTTP Codes use
connection.getErrorStream();
代替
connection.getInputStream();
connection是HttpURLConnection的类型.
connection is type of HttpURLConnection.
Android HTTP url连接在getInputstream上找不到“抛出文件"异常