From b74bd9e884b3bc2d94383f3908a33d59d1fc595e Mon Sep 17 00:00:00 2001 From: ilias bhallil Date: Thu, 21 Mar 2019 04:10:56 -0400 Subject: [PATCH] Add downloadRequestHeaders Doc to the website (#647) --- docs/docs.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/docs.html b/docs/docs.html index df87a72..261caa2 100644 --- a/docs/docs.html +++ b/docs/docs.html @@ -435,6 +435,7 @@ var csv = Papa.unparse({ complete: undefined, error: undefined, download: false, + downloadRequestHeaders: undefined, skipEmptyLines: false, chunk: undefined, fastMode: undefined, @@ -587,6 +588,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