https_request example: Perform request over HTTP/1.1 to enable keepalive timeout

Closes: https://github.com/espressif/esp-idf/issues/6133
This commit is contained in:
Shubham Kulkarni
2020-12-09 15:54:41 +05:30
parent 6337ce9c3c
commit 3452e06e7e

View File

@@ -50,7 +50,7 @@
static const char *TAG = "example";
static const char *REQUEST = "GET " WEB_URL " HTTP/1.0\r\n"
static const char *REQUEST = "GET " WEB_URL " HTTP/1.1\r\n"
"Host: "WEB_SERVER"\r\n"
"User-Agent: esp-idf/1.0 esp32\r\n"
"\r\n";