diff --git a/public/js/contact-form.js b/public/js/contact-form.js index 3f4c4d8..0108d34 100644 --- a/public/js/contact-form.js +++ b/public/js/contact-form.js @@ -75,8 +75,6 @@ xhttp.open('POST', path, true); xhttp.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); xhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); - xhttp.setRequestHeader('Content-length', data.length); - xhttp.setRequestHeader('Connection', 'close'); xhttp.onreadystatechange = function () { if (this.readyState === 4) { if (this.status === 200) {