[go: up one dir, main page]

Skip to content

Support for redirects based on MIME type

We have a number of models available under versioned URLs in our statically hosted sites. We would like to serve the latest version of a model under a shorter path (e.g. /models/<name>/version/1.2 under /models/<name>). Additionally, this redirect should be MIME-Type sensitive and return the model in the desired format (e.g. .ttl for accept header text/turtle). Ideally, we want to use the redirect functionality of pages to accomplish this. Is there a chance more complex redirects like this can be supported?

For more information about our use case, see https://gitlab.com/siemens/redirect-poc.