-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,请问下下面的redis的set的配置写法是否准确? #10
Comments
你应当使用 ngx.req.read_body(), ngx.req.get_body_data() 和 ngx.req.get_body_file() 来读取请求体。另一种选择是使用 ngx.req.socket(). 你上面的代码并没有读取请求体数据。引用 $echo_request_body 变量并不会自动触发请求体读取操作。 |
感谢回复! 如果我在 |
加入了请求读取操作,请帮忙再看一下:
|
Hello! On Mon, Oct 22, 2012 at 10:42 PM, LazyZhu notifications@github.com wrote:
你调用 ngx.req.get_body_data() 和读取 $echo_request_body 变量的效果几乎是完全相同的。 -agentzh |
主要是变量的写法无法确定是否准确。
The text was updated successfully, but these errors were encountered: