Permalink
Browse files

Merge pull request #30 from sgentle/master

Add port to host header
  • Loading branch information...
2 parents 1835023 + 77659a6 commit ac2010878e68c652a74ebfb5520d3890be72dad3 @creationix creationix committed Oct 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/couch-client.js
View
@@ -49,7 +49,7 @@ function CouchClient(url) {
}
var headers = {
- "Host": uri.hostname
+ "Host": uri.host
};
// add the authorization header if provided and using https
if (uri.auth) {

0 comments on commit ac20108

Please sign in to comment.