Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mde/geddy
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed Aug 21, 2011
2 parents b426b70 + ff765bc commit ce49855
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geddy-core/lib/clients/couchdb.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ couchdb.Client.prototype = new function () {
headers = {host: this.hostname};
if (req.data) {
headers['content-length'] = req.data.length;
headers['content-type'] = 'application/json';
}

request = this.client.request(req.method, req.url, headers);
Expand Down

0 comments on commit ce49855

Please sign in to comment.