2 ms·
It sounds like you are reinventing HTTP headers and trying to put them in the body for whatever reason. I've also seen this before, but I can't say I didn't la
by remram 5y ago
It sounds like you are reinventing HTTP headers and trying to put them in the body for whatever reason.
I've also seen this before, but I can't say I didn't laugh:
HTTP/1.1 200 Ok
Content-type: application/json
{"status": 404, "type": "xml", "body": "<entry><name>...</name><author>...</author></entry>"}