Return http status error on exit #15
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: miraty/libreqr#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Actually, the
index.php
file is containing some tests in case of qrcode creation POST request:But, on error, the http status code returned is
200 OK
.It would be better if it returned the http status code
400 Bad Request
in case of error.Example of code:
This need is very important to do log analysis.
Done in
3fdd6f5eab
.