diff --git a/lib/client.js b/lib/client.js
index 6495edc82..518b428a5 100644
--- a/lib/client.js
+++ b/lib/client.js
@@ -203,6 +203,7 @@ SwaggerClient.prototype.build = function (mock) {
     useJQuery: this.useJQuery,
     jqueryAjaxCache: this.jqueryAjaxCache,
     connectionAgent: this.connectionAgent,
+    enableCookies: this.enableCookies,
     url: this.url,
     method: 'get',
     headers: {