Currently, tabulator.helpers.detect_scheme_and_format only extracts format from URLs ending with .csv (or other formats), using splitext.
I'm proposing a way to extract format from format=xxx in URL query string. It seems to me that it's a sufficiently common use case to be included in Tabulator.
Example: a commonly used OpenData platform formats its URLs like this:
I'm often dealing with URLs like https://domain.tls/path/to/resource?format=csv
Currently,
tabulator.helpers.detect_scheme_and_format
only extracts format from URLs ending with.csv
(or other formats), usingsplitext
.I'm proposing a way to extract format from
format=xxx
in URL query string. It seems to me that it's a sufficiently common use case to be included in Tabulator.Example: a commonly used OpenData platform formats its URLs like this: