Skip to content

Commit 3452e06

Browse files
https_request example: Perform request over HTTP/1.1 to enable keepalive timeout
Closes: #6133
1 parent 6337ce9 commit 3452e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/protocols/https_request/main/https_request_example_main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
static const char *TAG = "example";
5252

53-
static const char *REQUEST = "GET " WEB_URL " HTTP/1.0\r\n"
53+
static const char *REQUEST = "GET " WEB_URL " HTTP/1.1\r\n"
5454
"Host: "WEB_SERVER"\r\n"
5555
"User-Agent: esp-idf/1.0 esp32\r\n"
5656
"\r\n";

0 commit comments

Comments
 (0)