From 30c37eb549c17b29a8131598cc06aeaf374896f5 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Tue, 28 Feb 2012 04:57:59 +0100 Subject: Having a slightly better approach for writing Http responses. --- includes/Http.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/Http.h') diff --git a/includes/Http.h b/includes/Http.h index 8b0e313..62f8786 100644 --- a/includes/Http.h +++ b/includes/Http.h @@ -13,8 +13,7 @@ const char * getStatusMsg(int httpStatus); typedef std::map StringMap; typedef std::map > FileList; -class Request { - public: +struct Request { int method; String host; String uri; @@ -22,6 +21,7 @@ class Request { StringMap headers; FileList files; bool persistent; + String version; }; enum { -- cgit v1.2.3