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. |
||
---|---|---|
.. | ||
component.mk | ||
http_request_example_main.c | ||
Kconfig.projbuild |