When passing a JSON payload to a response object as json=..., the content-type is automatically set to application/json. Attempting to set Content-Type explicitly results in a malformed header, with ...
What version of React Router are you using? @remix-run+router@1.14.1 The RFCs also indicate that the Content-Type is an optional field. It SHOULD be sent but is not required as the client may attempt ...