lua-resty-redis icon indicating copy to clipboard operation
lua-resty-redis copied to clipboard

how to save response header to redis

Open GeniusGeng opened this issue 7 years ago • 0 comments
trafficstars

Hello ChunGe, Since this library cannot be used in code contexts like init_by_lua*, set_by_lua*, log_by_lua*, and header_filter_by_lua* .I got response header using ngx.resp.get_headers() in the pharse of header_filter_by_lua. And I want to save response header to redis. Now,I don't know how to solve this problem,I can't find answer by google. Thanks for your help.

GeniusGeng avatar Jul 13 '18 07:07 GeniusGeng