We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have the tnt_http_rest_methods directive defined thus:
tnt_http_rest_methods get post;
Notice no 'delete' is specified. However, when I send a DELETE request, the call is passed through to my Lua function.
I expected the request to be rejected. Do I misunderstand the purpose of this directive?
The full definition in nginx.conf is:
location /api/v1/users { # REST mode on tnt_http_rest_methods get post; # Pass http headers and uri tnt_pass_http_request on; # Module on tnt_pass backend; tnt_method v1_users; }
The text was updated successfully, but these errors were encountered:
Sorry for long the answer, was offline.
Yep, this is a bug. Thank you for the report! I will fix this till Monday.
Sorry, something went wrong.
#115 fixed
549b48e
Fixed in: 549b48e
I close this one. The Bug inside the documentation fixed. Thank you for report.
dedok
No branches or pull requests
I have the tnt_http_rest_methods directive defined thus:
tnt_http_rest_methods get post;
Notice no 'delete' is specified. However, when I send a DELETE request, the call is passed through to my Lua function.
I expected the request to be rejected. Do I misunderstand the purpose of this directive?
The full definition in nginx.conf is:
The text was updated successfully, but these errors were encountered: