Browse Source

Add downloadRequestHeaders Doc to the website (#646)

pull/654/head
ilias bhallil 6 years ago committed by Sergi Almacellas Abellana
parent
commit
9428cd4c52
  1. 14
      docs.html

14
docs.html

@ -350,6 +350,7 @@ var csv = Papa.unparse({
complete: undefined, complete: undefined,
error: undefined, error: undefined,
download: false, download: false,
downloadRequestHeaders: undefined,
skipEmptyLines: false, skipEmptyLines: false,
chunk: undefined, chunk: undefined,
fastMode: 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 <code>parse()</code> is actually a URL from which to download a file and parse its contents. If true, this indicates that the string you passed as the first argument to <code>parse()</code> is actually a URL from which to download a file and parse its contents.
</td> </td>
</tr> </tr>
<tr>
<td>
<code>downloadRequestHeaders</code>
</td>
<td>
If defined, should be an object that describes the headers, example:
<pre>
<code class="language-javascript">downloadRequestHeaders: {
'Authorization': 'token 123345678901234567890',
}</code>
</pre>
</tr>
<tr> <tr>
<td> <td>
<code>skipEmptyLines</code> <code>skipEmptyLines</code>

Loading…
Cancel
Save