I already asked this on https://bitcoin.stackexchange.com/ and was referred here.
The docs say "RPC HTTP requests must include a Content-Type header set to text/plain" (src: https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs). Calls to an RPC endpoint without this header succeed. Either way, the true Content-Type in this case is application/json. ~Every version of the docs published so far specifies this requirement.
Is it safe for me to remove it or could it cause unexpected behavior? I can imagine none. I am happy to open a PR removing this requirement from the docs if it's not needed.