diff options
Diffstat (limited to 'src/Http.h')
-rw-r--r-- | src/Http.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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_ */ |