From 173425f4fd74b7ec40a453e165403ba29038e543 Mon Sep 17 00:00:00 2001 From: ilias bhallil Date: Wed, 20 Mar 2019 11:04:44 -0400 Subject: [PATCH] Add downloadRequestHeaders Doc to the website --- docs.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs.html b/docs.html index 37fe8f1..d5d724b 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 describe the headers, example: + +
+										downloadRequestHeaders: {
+'Authorization': 'token 123345678901234567890',
+}
+									
+ skipEmptyLines