diff options
author | 2016-10-10 15:31:38 +0800 | |
---|---|---|
committer | 2016-10-10 15:31:38 +0800 | |
commit | 17fab940d408b9d597bfc8002070dc6f2e23dcdd (patch) | |
tree | 2f39875c29c252e25bddfa409e58068a3bfd0575 /msb-core/openresty-ext | |
parent | 3b69b5d6ac07a67dfdd60497ef6624653ccd6957 (diff) |
Header removed from driver request
Change-Id: I88e2929439dd60d5108c5473d8465d76e768fefb
Signed-off-by: s71221 <sukeshac@huawei.com>
Diffstat (limited to 'msb-core/openresty-ext')
-rw-r--r-- | msb-core/openresty-ext/src/assembly/resources/openresty/nginx/luaext/plugins/driver_manager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/luaext/plugins/driver_manager.lua b/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/luaext/plugins/driver_manager.lua index 4caa9e2..1dc1af7 100644 --- a/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/luaext/plugins/driver_manager.lua +++ b/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/luaext/plugins/driver_manager.lua @@ -41,6 +41,7 @@ end local function get_driver_url(driver_header) local cjson = require "cjson" local query_url = get_query_url(driver_header) + ngx.req.clear_header(_HEADER) local res = ngx.location.capture(query_url, { method = ngx.HTTP_GET}) ngx.log (ngx.ERR, "Driver manager resp url : ", tostring(res.body)) if (res.status == 200 and res.body ~= nil and res.body ~= '') |