mirror of
https://github.com/espressif/esp-idf.git
synced 2026-01-08 10:36:06 +00:00
request new lines must be `\r\n` as specified in the HTTP RFC. Also the following logic checks for the socket to be closed by the server. This only happens with HTTP/1.0 not HTTP/1.1. So I have adjusted the protocol in the request, too.