this is the same as req.Header["User-Agent"] ||= "" to just prevent it from being nil.