Skip to content

Handle http 422 error code properly #237

Open
@cztomczak

Description

@cztomczak

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions