Open nflaig opened 3 months ago
In case case mev-rs receives no bid from any builder it will respond with 204 status code to a getHeader, this is as expected but it also sets content-type and content-length header while response payload does not contain JSON data.
These are the headers in 204 response
'content-type': 'application/json', 'content-length': '114'
but as the status code 204 - No Content implies, it shouldn't be sending any content, nor set a content type header
In case case mev-rs receives no bid from any builder it will respond with 204 status code to a getHeader, this is as expected but it also sets content-type and content-length header while response payload does not contain JSON data.
These are the headers in 204 response
but as the status code 204 - No Content implies, it shouldn't be sending any content, nor set a content type header