From 47338fd001e5131efc9c45d853ae7abafe3c22a1 Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Sun, 28 Aug 2022 15:48:58 -0400 Subject: [PATCH] Initialize the server response code --- src/HttpServer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HttpServer.c b/src/HttpServer.c index 75f84a8..f05ba56 100644 --- a/src/HttpServer.c +++ b/src/HttpServer.c @@ -102,6 +102,7 @@ HttpServerContextCreate(HttpRequestMethod requestMethod, c->requestMethod = requestMethod; c->requestPath = requestPath; c->stream = stream; + c->responseStatus = HTTP_OK; return c; }