fix_http_server_start #72
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "fix_http_server_start"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Fix https server
POST requests without a body (e.g. Reiniciar, Apagar) caused json.loads("") to raise JSONDecodeError, which sent a 500 response but continued executing the handler, resulting in a double response. The client received 500 while the handler actually succeeded. - Handle missing or zero Content-Length without attempting JSON parse - Add return after sendJsonError to prevent calling notifyMessage after an error response has already been sent