Zip file download - SDMX-RI-1335 - NSI v7.13.2
Allow obtaining extractions compressed as zip file attachment:
Test case (request):
- http://nsi-stable-qa-oecd/rest/data/OECD,DF_AIR_EMISSIONS_DF/all (or any other data request)
- Accept: application/vnd.sdmx.data+csv; zip=true; labels=code (or other SDMX data formats)
Expected response:
- Response body compressed using zip and marked to be saved as attachment
- Content-Type: application/vnd.sdmx.data+csv; zip=true; labels=code; charset=utf-8
- Content-Disposition: attachment; filename="[dataflow identification].zip"
Note: if the Accept header includes both options zip=true and file=true then zip=true is applied.
Edited by jean-baptiste nonin