Created
March 12, 2014 07:15
-
-
Save davidbirdsong/9502254 to your computer and use it in GitHub Desktop.
lua put
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ngx.req.read_body() | |
| -- do the work to find body file on disk | |
| ngx.req.set_body_file(putfile, true) | |
| res = ngx.location.capture("/location_that_proxies", {method = ngx.HTTP_PUT}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment