From c8dfa34035bd3d689cb72a011b34c34f4619c674 Mon Sep 17 00:00:00 2001 From: Steve Peak Date: Fri, 10 Aug 2018 13:11:37 +0200 Subject: [PATCH] Update README.markdown --- README.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.markdown b/README.markdown index dfefb81..1d0a1d4 100644 --- a/README.markdown +++ b/README.markdown @@ -453,6 +453,8 @@ You can also use POST/PUT subrequests to transfer the raw Redis request via requ } ``` +> **Important** The nginx variable `$request_body` *only* contains content buffered into memory. If nginx writes the request body to a temporary file (default behavior) the `$request_body` will **not** include the entire content or may be empty. It's recommended to use `$echo_request_body` which reads the full request body (regardless of being in buffer or temporary file). + This yeilds exactly the same output as the previous (GET) sample. One can also use Lua to pick up a concrete Redis backend based on some complicated hashing rules. For instance,