From 9252fade2280074816b2f0f353e6ff34ae4e89a9 Mon Sep 17 00:00:00 2001 From: ommar Date: Mon, 22 Jun 2015 18:22:29 +0800 Subject: [PATCH] Added with Credentials option to the config file --- papaparse.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/papaparse.js b/papaparse.js index d05c067..2849c48 100644 --- a/papaparse.js +++ b/papaparse.js @@ -521,6 +521,10 @@ xhr = new XMLHttpRequest(); + if (this._config.withCredentials) + { + xhr.withCredentials = this._config.withCredentials; + } if (!IS_WORKER) { xhr.onload = bindFunction(this._chunkLoaded, this);