diff --git a/extensions/scripting/lua-bindings/manual/network/lua_xml_http_request.cpp b/extensions/scripting/lua-bindings/manual/network/lua_xml_http_request.cpp index b016b8133d..7e4c6d6d0a 100644 --- a/extensions/scripting/lua-bindings/manual/network/lua_xml_http_request.cpp +++ b/extensions/scripting/lua-bindings/manual/network/lua_xml_http_request.cpp @@ -1,6 +1,7 @@ /**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) Bytedance Inc. https://adxe.org @@ -91,7 +92,7 @@ public: void _sendRequest(); void setRequestHeader(const char* field, const char* value); - const std::unordered_map& getHttpHeader() const { return _httpHeader ;} + const HttpResponse::ResponseHeaderMap& getHttpHeader() const { return _httpHeader; } void clearHttpHeader() { _httpHeader.clear(); } void getByteData(unsigned char* byteData) const;