setHeader now requires two separate parameters for header name and value