An idea I came up with would be to standardize a new HTTP header, something along the lines of "content-license". It would seem appropriate to have such a header any time along a "content-type" header.
The problem I see with this is that most JavaScript files served over HTTP these days are composed on many different sources with different copyrights and licenses and original source locations. So it's not just one header with a license and you're done. It really needs to be inline in the file to separate different-ly licensed parts from each other clearly.
signature.asc
Description: PGP signature
