mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user