Versioning in headers
This website: https://restfulapi.net/ is a nice write up to discuss REST API with references to Fielding's dissertation. They also have a page on versioning where a paragraph on URI versioning suggests to use headers instead of URIs. It would be nice if fastapi-versioning would support this. See: https://restfulapi.net/versioning/
I also want to do this! I.e. pass a version=2020-01-01 header and have the application route to a different endpoint, even if that has to be on a different URL internally, thats fine. As long as the external-facing URL is without a version.
Posted something on a FastAPI issue here to showcase how it could be done: https://github.com/tiangolo/fastapi/issues/3910#issuecomment-1024132161