diff --git a/src/reqwest.js b/src/reqwest.js index a20c9d4..da9f09f 100644 --- a/src/reqwest.js +++ b/src/reqwest.js @@ -187,7 +187,7 @@ // if we're working on a GET request and we have data then we should append // query string to end of URL and not post data - if ((o['type'] == 'jsonp' || method == 'GET') && data) { + if ((o['type'] == 'jsonp' || method == 'GET' || method == 'DELETE') && data) { url = urlappend(url, data) data = null } @@ -341,7 +341,7 @@ function timedOut() { self._timedOut = true - self.request.abort() + self.request.abort() } function error(resp, msg, t) {