comment some print_lines
This commit is contained in:
parent
662ed9ca8d
commit
151e9600aa
@ -248,7 +248,7 @@ Error HTTPClient::poll(){
|
|||||||
status=STATUS_SSL_HANDSHAKE_ERROR;
|
status=STATUS_SSL_HANDSHAKE_ERROR;
|
||||||
return ERR_CANT_CONNECT;
|
return ERR_CANT_CONNECT;
|
||||||
}
|
}
|
||||||
print_line("SSL! TURNED ON!");
|
//print_line("SSL! TURNED ON!");
|
||||||
connection=ssl;
|
connection=ssl;
|
||||||
}
|
}
|
||||||
status=STATUS_CONNECTED;
|
status=STATUS_CONNECTED;
|
||||||
@ -295,7 +295,7 @@ Error HTTPClient::poll(){
|
|||||||
response_str.push_back(0);
|
response_str.push_back(0);
|
||||||
String response;
|
String response;
|
||||||
response.parse_utf8((const char*)response_str.ptr());
|
response.parse_utf8((const char*)response_str.ptr());
|
||||||
print_line("END OF RESPONSE? :\n"+response+"\n------");
|
//print_line("END OF RESPONSE? :\n"+response+"\n------");
|
||||||
Vector<String> responses = response.split("\n");
|
Vector<String> responses = response.split("\n");
|
||||||
body_size=0;
|
body_size=0;
|
||||||
chunked=false;
|
chunked=false;
|
||||||
@ -316,7 +316,7 @@ Error HTTPClient::poll(){
|
|||||||
|
|
||||||
if (s.begins_with("Transfer-Encoding:")) {
|
if (s.begins_with("Transfer-Encoding:")) {
|
||||||
String encoding = s.substr(s.find(":")+1,s.length()).strip_edges();
|
String encoding = s.substr(s.find(":")+1,s.length()).strip_edges();
|
||||||
print_line("TRANSFER ENCODING: "+encoding);
|
//print_line("TRANSFER ENCODING: "+encoding);
|
||||||
if (encoding=="chunked") {
|
if (encoding=="chunked") {
|
||||||
chunked=true;
|
chunked=true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user