JavaScript: setHeader

Set an HTTP header for the request.

Parameters