header
Adds a header to the request.
Headers provide metadata about the request. Multiple calls with the same header name may either replace or append the value depending on the implementation.
Parameters
name
The header name (case-insensitive per HTTP spec).
value
The header value.
Get the HTTP headers being used for the request.
Parameters
name
The name of the header to retrieve.