Open explosivebit opened 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.
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.
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]