mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-04 01:15:43 +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.