AddHeader Method
Adds an HTTP header to the request.
Syntax
public void addHeader(String name, String value);
Remarks
This method appends a header to the HTTP request.
Use this method with caution. If an invalid header is added, the HTTP request may fail.