r.Header isn't guaranteed to exist