The setRequestHeader() method sets a custom HTTP header (name-value pair) that will be sent with the request. It must be called AFTER open() but BEFORE send(). Option A describes send(), Option B describes getAllResponseHeaders(), and Option D describes open().