mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-13 09:01:23 +01: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. |
||
---|---|---|
.. | ||
server | ||
web |