From 9428cd4c52b7361e1bb758d25b63e5fc166925ee Mon Sep 17 00:00:00 2001 From: ilias bhallil Date: Wed, 20 Mar 2019 11:31:21 -0400 Subject: [PATCH] Add downloadRequestHeaders Doc to the website (#646) --- docs.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs.html b/docs.html index 37fe8f1..3267d48 100644 --- a/docs.html +++ b/docs.html @@ -350,6 +350,7 @@ var csv = Papa.unparse({ complete: undefined, error: undefined, download: false, + downloadRequestHeaders: undefined, skipEmptyLines: false, chunk: undefined, fastMode: undefined, @@ -500,6 +501,19 @@ var csv = Papa.unparse({ If true, this indicates that the string you passed as the first argument to parse() is actually a URL from which to download a file and parse its contents. + + + downloadRequestHeaders + + + If defined, should be an object that describes the headers, example: + +
+										downloadRequestHeaders: {
+'Authorization': 'token 123345678901234567890',
+}
+									
+ skipEmptyLines