From 43ef9c65e05259f8566c99f7f3d410c0eef6fa25 Mon Sep 17 00:00:00 2001 From: Cowering Date: Sat, 4 Jul 2015 18:48:18 -0500 Subject: newest mongoose.. PRETTY sure I didn't alter anything (NW) --- 3rdparty/mongoose/examples/cookie_authentication/cookie_auth.c | 1 + 1 file changed, 1 insertion(+) (limited to '3rdparty/mongoose/examples/cookie_authentication/cookie_auth.c') diff --git a/3rdparty/mongoose/examples/cookie_authentication/cookie_auth.c b/3rdparty/mongoose/examples/cookie_authentication/cookie_auth.c index f3621faeed7..c35e0445ef2 100644 --- a/3rdparty/mongoose/examples/cookie_authentication/cookie_auth.c +++ b/3rdparty/mongoose/examples/cookie_authentication/cookie_auth.c @@ -58,6 +58,7 @@ static int check_login_form_submission(struct mg_connection *conn) { mg_printf(conn, "HTTP/1.1 302 Moved\r\n" "Set-Cookie: ssid=%s; expire=\"%s\"; http-only; HttpOnly;\r\n" + "Content-Length: 0\r\n" "Location: /\r\n\r\n", ssid, expire); return MG_TRUE; -- cgit v1.2.3-70-g09d2