#801 - prevent calls to setRequestHeader if XDR is used