Request HTTP compression also in DE SDMX requests that don't do it yet (through using "X-Range" header)
As Jens,
I want that the table data and content constraint queries in the DE viz request HTTP compression (using Accept-Encoding header), similarly to the current DE viz structure and csv-download queries,
So that the table display can gain in performance and the internet bandwidth of the SDMX server is not unnecessarily overused.
IMPORTANT: For that purpose, through a new configuration (for backward-compatibility), change the current range
header usage to use x-range
header instead. The configuration needs to be at the tenants.json > dataspace
definition level.
Details
Today, csv-downloads and json structure queries send the HTTP compression request header Accept-Encoding: gzip, deflate, br
,
e.g. with https://de-qa.siscc.org/vis?fs[0]=datasourceId%2Cds%3Aqa%3Astable&pg=0&fc=datasourceId&snb=42&df[ds]=ds%3Aqa%3Astable&df[id]=SNA_TABLE1&df[ag]=OECD&df[vs]=1.0&pd=2018%2C2020&dq=ZMB..C%2BV&vw=tb
Requests for availableconstraint and data should also send the same Accept-Encoding: gzip, deflate, br
instead of the current Accept-Encoding: identity