Commit 72f0c835 authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Fix: Send "Content-Length: 0" on 100-continue

parent 4c6d778e
......@@ -211,7 +211,7 @@ static void client_send_error(client_t *client, int status, int plain, const cha
void client_send_100(client_t *client)
/* On demand inject a HTTP/1.1 100 Continue to make sure clients are happy */
static const char str[] = "HTTP/1.1 100 Continue\r\n\r\n";
static const char str[] = "HTTP/1.1 100 Continue\r\nContent-Length: 0\r\n\r\n";
const size_t len = strlen(str);
client_send_bytes(client, str, len);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment