Hello everyone,
I'm using nginx as reverse proxy and logging the upstream response through lua by concatenating ngx.arg[1] until ngx.arg[2] is true. As the response size increases, the format of the response changes as well and I haven't yet been able to decode it.
Examples are shorter and longer responses collected from access log are as follows:
Has anyone else experienced this? What is the encoding?!
Thanks,
Pouria