httpceint failed to respond with a valid HTTP resp

httpceint failed to respond with a valid HTTP response 导致的错误,

    String lastTime="2015-01-01 12:00:00"
     getUrl.append("&start_date=");
     getUrl.append(lastTime);

因lastTime中的空格没有转义导致,可以手动 lastTime=lastTime.replaceAll(” “, “%20”);进行转义

你可能感兴趣的:(httpceint failed to respond with a valid HTTP resp)