Skip to content

Commit

Permalink
Merge pull request #62 from theSlyest/patch-1
Browse files Browse the repository at this point in the history
Update lib.js
  • Loading branch information
RussH committed Mar 9, 2016
2 parents f42473d + 1054e76 commit a13771a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,9 @@ function AJAX_getXMLHttpObject()
function AJAX_sendPOSTHeaders(http, contentLength)
{
http.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
http.setRequestHeader('Content-length', contentLength);
http.setRequestHeader('Connection', 'close');
/* No more allowed! */
//http.setRequestHeader('Content-length', contentLength);
//http.setRequestHeader('Connection', 'close');
}

/**
Expand Down

0 comments on commit a13771a

Please sign in to comment.