I came across this answer:
https://stackoverflow.com/a/9664327/688958
In short, it states that text/javascript
is obsolete and that application/javascript
should be used instead.
The answer was correct when RFC 4329 was current. However, in May 2022 that RFC was made obsolete by RFC 9239.
The new RFC states that application/javascript
is obsolete and that text/javascript
shall be used instead.
There's indeed another answer in that question that mention this fact.
However, the incorrect (and accepted) answer has a very high score (364). I believe that most people just assume that it has to be the correct answer. I would do so.
Now, it turns out I have enough reputation on Stack Overflow to edit other peoplespeoples' answers. Should I edit the answer and mention the new RFC or would that go against the philosophy/guidelines of Stack Overflow?