laudeco opened this issue 6 years ago · 1 comments
instead of a simple die('error') we should set the correct http status.
you are completely right. After your comment, I prepared the ground with the function "returns_error()". Can this help?