diff --git a/src/Http/HttpSession.h b/src/Http/HttpSession.h index bccfbf65..9cd4bfbe 100644 --- a/src/Http/HttpSession.h +++ b/src/Http/HttpSession.h @@ -111,7 +111,7 @@ private: inline void urlDecode(Parser &parser); inline void sendNotFound(bool bClose); inline void sendResponse(const char *pcStatus,const KeyValue &header,const string &strContent); - inline static KeyValue makeHttpHeader(bool bClose=false,int64_t iContentSize=-1,const char *pcContentType="text/html"); + inline KeyValue makeHttpHeader(bool bClose=false,int64_t iContentSize=-1,const char *pcContentType="text/html"); void responseDelay(bool bClose, const string &codeOut, const KeyValue &headerOut,