Why do browsers allow setting some headers without CORS, but not others? Trying to avoid preflights
问题 I'm trying to avoid0 CORS preflight requests for authorized GET requests, for latency performance reasons. The simple way to do that is putting the access token in a URL query parameter, but this is a bad security practice1. According to this answer2, the goal of browsers is to block anything that couldn't already be accomplished with HTML tags like img or script . But if that's the case, why is it allowed to set headers like Accept or Content-Langage ? You can't set those on an img tag. Also