Skip to content
New issue

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

Handle http 422 error code properly #237

Open
cztomczak opened this issue Dec 3, 2018 · 0 comments
Open

Handle http 422 error code properly #237

cztomczak opened this issue Dec 3, 2018 · 0 comments

Comments

@cztomczak
Copy link
Owner

cztomczak commented Dec 3, 2018

There is a "http_error" callback in Mongoose that maybe we should implement to handle 422 error code:

// Called when mongoose is about to send HTTP error to the client.

This is the default "send_http_error" implementation for handling http errors in Mongoose:

static void send_http_error(struct mg_connection *conn, int status,

Reported on the Forum:
https://groups.google.com/d/topic/phpdesktop/RcB3q2uiwGc/discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant