Misultin doesn't support HTTP 422 error
aberman opened this issue · comments
aberman commented
If I respond with a 422, Misultin does not know how to throw this error back and I actually get a 200 instead.
Req:respond(422, [], "some validation error").
The response Misultin sends is:
Date: Sat, 26 Nov 2011 10:04:31 GMT
Server: misultin/0.9-dev
Connection: Close
Content-Length: 21
some validation error
aberman commented
It actually does this to the response status (debugged from Firebug): 200 422, which confuses the browser and it assumes a 200 OK.
aberman commented
Closed issue and moved to a different one with code attached