Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #30 from sgentle/master

Add port to host header
  • Loading branch information...
commit ac2010878e68c652a74ebfb5520d3890be72dad3 2 parents 1835023 + 77659a6
@creationix authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/couch-client.js
View
2  lib/couch-client.js
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.