Skip to content

Commit

Permalink
Remove unsafe headers
Browse files Browse the repository at this point in the history
  • Loading branch information
pinceladasdaweb committed Nov 11, 2016
1 parent 369626c commit ba9a8b6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions public/js/contact-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ba9a8b6

Please sign in to comment.