request with addition header xxxx return nil
local xcdomain = ngx.req.get_headers()["xxxx"]
ngx.log(ngx.ERR, xcdomain) --this will see a nil in nginx error.log
@baoming Any updates on this issue please?
With more debug figure out that it is not an issue. in my case, there is a Upercase header name look like "Xxxx", and my lua code use "Xxxx" too. when change it to "xxxx" everything works well.