I am delivering a JS response from a PHP file. When setting the Content-Type
header which value should I use, application/javascript
or text/javascript
?
What’s the difference between the two?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…