JAVAጱHttpClientᳯғThe server failed to respond with a valid
ᇇกғԅܗԆܻڠᒍ҅๚ᕪܗԆ꧋ᦜӧ
Caused by: org.apache.http.ProtocolException: The server failed to respond with a valid HTTP
ጱHttpClient᭬کᬯӻᲙᬯӻᲙᛘฎ᧔serverᕳጱӧฎྋᏟጱhttp
response.ᬯӻᲙฎݢᚆฎኧԭғֵአݶӞӻHttpClientᳩᬳള/כ೮ᬳള, ᆐݸֵ݈አᬯӻ
ইຎֵአጱฎHttpGetᬰᤈጱ᧗(ٌ՜᧗ᔄ֒ᥴ٬)ᮎԍᥴ٬ොဩฎғ
ࣁabort()ԏڹᥝಅํጱٖ᮷឴ݐکᆐݸ୩ګىᳮᬯӻᬳളݶentityԞଗധᬯ᯾ᥴ٬ᳯ
ጱىᲫฎ get.abort()ইຎentityӧىധ҅ᮎԍݎጱᳯฎғhttpclientܜྒ
୮ᆐᬮํӞᐿᥴ٬ොဩғӧෙnewڊhttpclient. ᬯᐿොဩӧവគҁၾᘙᰁᩒრ҂
response = httpclient.execute(get);
EntityUtils.consumeQuietly(response.getEntity());
JAVAHttpClientThe server failed to respond with a ... http://blog.csdn.net/cctt_1/article/details/9021543
1 2 2017/5/14 3:04
评论0
最新资源