I want to using download a file using Polymer's Iron-Ajax.
<iron-ajax
id="fileDownloader"
headers='{"Auth" :"token"}'
url="/my/server/rest/download/csv/{{id}}"
method="GET"
content-type="application/json"
on-response="downloadCsvCallLoaded"
on-error="downloadCsvCallFailed">
</iron-ajax>
The reposnse actually contains the data, but it does not trigger the browser to download the file.