The html source is like this:
<script type="text/javascript" language="JavaScript" src="myscript.js"></script>
However debugging the http request (with Fiddler) it clearly seems that browser (Chrome) issues the GET
request for myscript.js with Accept */*
.
Is this normal?
Interestingly this issue is not true for CSS files. The browser is correctly asking them Accept: text/css,*/*
(In a programmed proxy server) I would like to detect which requests are for javascript files. I thought I can rely on Accept in request header...