]> granicus.if.org Git - esp-idf/commit
Fix http_request example
authorSagar Bijwe <sagar@espressif.com>
Tue, 10 Sep 2019 13:24:05 +0000 (18:54 +0530)
committerbot <bot@espressif.com>
Fri, 13 Sep 2019 09:21:29 +0000 (09:21 +0000)
commite255c48de74a0275130ba0b8f008e9e57ea99790
treec5067033001e0227505531205dcc81f20ef3be25
parentc27fd32fbeb61dba06b4a6334362155d6c6187d3
Fix http_request example

1) WEB_PATH should path relative to document root of web server.
2) HTTP request should contain "Host" header of format "host:port".
3) Port number in the example should be configurable.
examples/protocols/http_request/main/http_request_example_main.c