From 45e62435b7d16527924430ac57dfba832860065d Mon Sep 17 00:00:00 2001 From: ilias bhallil Date: Wed, 20 Mar 2019 11:44:24 -0400 Subject: [PATCH] Add downloadRequestHeaders Doc to the website --- 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