falconry / falcon

The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.
https://falcon.readthedocs.io/en/stable/
Apache License 2.0
9.53k stars 944 forks source link

Parquet file type in media #2335

Open davetapley opened 1 month ago

davetapley commented 1 month ago

Would a PR to add 'application/vnd.apache.parquet' here be welcome?

https://github.com/falconry/falcon/blob/b29fd5540ae58bed47198ea447f1e9194c34155c/falcon/constants.py#L137-L145

CaselIT commented 1 month ago

Hi,

Probably not the most common file type, but I think it would be fine to have that constant.

Maybe we could add also csv? I'm not sure if there is standardized media type for it though

vytas7 commented 1 month ago

Hm, I think it is maybe a bit too specific/niche? Because then it would feel logical to include many more media types like this.

Although it wouldn't hurt to add a constant or two, maybe we could instead start with an extension package, like falcon-parquet-handler? (That would include the said constant, and ParquetHandler.)