Hello!
On Mon, Jun 15, 2015 at 10:51 AM, Mathew Heard wrote:
> Not entirely a Lua question, but I want to request it from Lua (if possible)
> so yeah :)
>
> Is it possible to get either:
> a) The original request headers in a raw form?
> or
> b) The original request headers in order?
>
Yes, sure:
https://github.com/openresty/lua-nginx-module#ngxreqraw_header
If you are interested in how it is implemented, just check out the source ;)
Regards,
-agentzh