You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some keymanager APIs are not spec compliant due to the fact that we return a empty json body even though the HTTP status code is 204 (no content). The content length header is also invalid which might cause issues on the client sending the request (content-length: 2).
This is due to the fact that Lodestar always adds an empty response body even if there is no return type
Describe the bug
Some keymanager APIs are not spec compliant due to the fact that we return a empty json body even though the HTTP status code is 204 (no content). The content length header is also invalid which might cause issues on the client sending the request (
content-length: 2
).This is due to the fact that Lodestar always adds an empty response body even if there is no return type
lodestar/packages/api/src/utils/server/genericJsonServer.ts
Lines 53 to 55 in fa30bcf
Expected behavior
Lodestar should not return an empty json body in 204 responses.
Steps to reproduce
No response
Additional context
No response
Operating system
Linux
Lodestar version or commit hash
v1.12.0
The text was updated successfully, but these errors were encountered: