Script tag and accept header

Hi everyone!
I have a small doubt regard the accept header of the script tag. It seems
like even if I add a type attribute "text/javascript" the GET for the src
attribute accepts */*, which doesn't seem right to me since I am setting the
script to be javascript and maybe my resource defaults to text/html.
Following the HTTP standard when requesting */* I can default my
content-type to whatever I want and actually in this case the script just
accepts javascript.
Do you think it is a bug in the specs?
I've checked the docs and there is nothing about the accept header of the
script tag. Also I've checked this behavior on Firefox and it is sending a
*/* accept header.

Thanks!

Jonathan

Received on Thursday, 29 July 2010 06:35:55 UTC