Skip to content
Browse files

don't set ContentLength in headers cause it throws errors

  • Loading branch information...
1 parent 1319498 commit c698937abb1c0a4126aed525dac5494a14e1aed2 Artem Yankov committed Jun 16, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 client/nourl.js
View
2 client/nourl.js
@@ -126,8 +126,6 @@ nourl.Ajax = {
//Send the proper header information along with the request
client.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
- client.setRequestHeader("Content-length", params.length);
- client.setRequestHeader("Connection", "close");
client.onreadystatechange = function() {
callback(client.responseText);

0 comments on commit c698937

Please sign in to comment.
Something went wrong with that request. Please try again.