diff --git a/src/Http/HttpClient.h b/src/Http/HttpClient.h index 78535b4d..94888042 100644 --- a/src/Http/HttpClient.h +++ b/src/Http/HttpClient.h @@ -22,7 +22,7 @@ using namespace ZL::Network; namespace ZL { namespace Http { -class HttpArgs : public map +class HttpArgs : public StrCaseMap { public: HttpArgs(){} @@ -62,7 +62,7 @@ public: _method = method; } void setHeader(const HttpHeader &header){ - _header = _header; + _header = header; } void addHeader(const string &key,const string &val){ _header.emplace(key,val);