Be more precise about how to get the mime type for a fetched script.