Page 1 of 1

https down error

Posted: Mon Feb 15, 2021 3:37 am
by pavepart
I just download file via WIFI from server.
and then saved it micro sd card.
(Use https request example.)

The problem is, the file saved with some sever information(or server response.) as like this
LL.png
screen shoot
LL.png (29.27 KiB) Viewed 2102 times

How solve this problem?

I use this two fucntion from https request example.
esp_tls_conn_write();
esp_tls_conn_read();

Re: https down error

Posted: Mon Feb 15, 2021 2:51 pm
by WiFive
You have to either parse http yourself or use esp_http_client API