Skip to content

Commit

Permalink
bug fix post
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Griffiths committed Jan 31, 2011
1 parent 3f67039 commit d211002
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Version
@@ -1 +1 @@
0.7.5
0.7.5.1
5 changes: 3 additions & 2 deletions src/OAuth/Consumer.js
Expand Up @@ -148,16 +148,17 @@
}

query = query.sort().join('&');
console.log(query, 'status=jsOAuth%20testing%202');

if(appendQueryString || method == 'GET') {
if (query) {
url += '?' + query;
}
query = null;
} else {
if (!!headers['Content-Type']) {
//if (!!headers['Content-Type']) {
headers['Content-Type'] = 'application/x-www-form-urlencoded';
}
//}
}

xhr.open(method, url, true);
Expand Down

0 comments on commit d211002

Please sign in to comment.