tarantool / nginx_upstream_module

Tarantool NginX upstream module (REST, JSON API, websockets, load balancing)
Other
174 stars 18 forks source link

[Vote for this] Syntax error #70

Open explosivebit opened 7 years ago

explosivebit commented 7 years ago

In my opinion, in the query string -- $ Wget 127.0.0.1:8081/tnt --post-data = '{ "method": "get_user_by_id", "params", [1]}' There is a bug that should be so. "Params": [1] Instead of a comma "params", [1]

dedok commented 7 years ago

Thanks for reporting! This is interesting, it looks like a bug inside libyajl (https://lloyd.github.io/yajl/). I'll check this issue soon.

dedok commented 7 years ago

Oh, I got it! You mean feature request not a bug :) Yep, nginx returns 404 code if error occurred. I'm not sure that people would happy if I'll break this behavior (means 404), so this issue will be stay opened until this issue doesn't collect some +1.