mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-03 04:17:37 +02:00
api handlers do not need an extra context. http.Request already has a context that is being ignored, so we leverage it and stop creating a new one. make the endpoints return http.StatusNoContent instead of just closing the connection from the client.