chaoslawful/lua-nginx-module — pull request #242 by aviramc (2013-06-02 17:14:27+00:00)
Title: Advance print function

Added the following "advance" print functions ngx.rawprint and nginx.rawprint_headers.
ngx.rawprint sends data directly to the client without passing it through the Nginx filter chains.
ngx.rawprint_headers allows to send send the response headers (including the status line) directly to the client in a raw fashion (this meaning that they should be separated by newlines and that the end of the headers must be marked with a double newline).
These are used by me in order to implement some advance features.