Only call `setRequestHeader` before the request is made. _Originally posted by @rhcarvalho in https://github.com/getsentry/sentry-javascript/pull/2500#discussion_r394416938_