diff options
author | oskwon <kos@dev3> | 2014-06-23 04:45:25 (GMT) |
---|---|---|
committer | oskwon <kos@dev3> | 2014-06-23 04:45:25 (GMT) |
commit | 6a0ddc61f2981645babeaf3d657ded6b0050ff65 (patch) | |
tree | 8b4378ced6fecf13c6e898272429d1d30b9eb7d7 /src/Http.h | |
parent | 54c33482e6f2dde665fb68a14344834bc330a7f9 (diff) |
Add error/athorization response.
Fix mis-typo on help.
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_ */ |