public QQHttpResponseConsumer(QQHttpRequest httpRequest, QQHttpListener httpListener, QQHttpCookieJar cookieJar) {
this.httpListener = httpListener;
this.readLength = 0;
this.contentLength = 0;
this.httpResponse = new QQHttpResponse();
this.httpCookieJar = cookieJar;
this.isCanceled = false;
if(httpRequest.getOutputStream() != null){
httpOutStream = httpRequest.getOutputStream();
}else{