src/Requester.php
public function setHttpHeaders(array $inHttpHeaders, $inMerge=false) {
        if ($inMerge) {
            $this->__httpHeaders = array_merge($this->__httpHeaders, $inHttpHeaders);
        } else {
            $this->__httpHeaders = $inHttpHeaders;
        }
        return $this;
    }
public function setHttpHeaders(array $inHttpHeaders, $inMerge=false) {
        if ($inMerge) {
            $this->__httpHeaders = array_merge($this->__httpHeaders, $inHttpHeaders);
        } else {
            $this->__httpHeaders = $inHttpHeaders;
        }
        return $this;
    }
Set the HTTP headers for the request.

@param array $inHttpHeaders The HTTP headers to set.
See {@url https://developer.mozilla.org/fr/docs/HTTP/Headers} for the list of HTTP headers.
@param bool $inMerge This parameter determines whether the given list of headers should be merged to the existing one or not.
If the value if false, then the given list of headers will replace the existing one.
Otherwise, the given list of headers will be merged into the existing one.
@return $this