src/targets/javascript/xhr/fixtures/custom-method.js
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('PROPFIND', 'http://mockbin.com/har');
xhr.send(data);