summaryrefslogtreecommitdiff
path: root/src/Http.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Http.h')
-rw-r--r--src/Http.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Http.h b/src/Http.h
index 31246bc..69f7a09 100644
--- a/src/Http.h
+++ b/src/Http.h
@@ -33,8 +33,7 @@ public:
std::string page;
std::map<std::string, std::string> page_params;
-private:
-
+ std::string authorization;
public:
HttpHeader() : type(UNKNOWN) {}
virtual ~HttpHeader() {}
@@ -46,4 +45,9 @@ public:
};
//----------------------------------------------------------------------
+namespace HttpUtil {
+ std::string http_error(int errcode, std::string errmsg);
+};
+//----------------------------------------------------------------------
+
#endif /* HTTP_H_ */