Over-aggressive middleware to check versioned base URL #737
Labels
bug
Something isn't working
priority/high
Issue or PR with a consensus of high priority
server
Issues pertaining to the example server implementation
Not sure if this is related, but I recently noticed that http://localhost:5000/v1 returns with a wrong version error on the reference server now (i.e. it doesn't redirect to the landing page)
Originally posted by @ml-evs in #663 (comment)
I confirm this is the case. The exception message:
optimade.server.exceptions.VersionNotSupported: The parsed versioned base URL '/v1' from http://localhost:5000/v1 is not supported by this implementation. Supported versioned base URLs are: /v1, /v1.0, /v1.0.1
.The text was updated successfully, but these errors were encountered: