Hi, I am serving my bento models on a path prefix ...
# ask-for-help
a
Hi, I am serving my bento models on a path prefix (on the proxy level) so the docs.json generated by the model is available like so: www.example.com/my-prefix-for-the specific-model/docs.json, it seems that while using the bentoml client, it always takes the domain, strips the url and assumes that the docs.json is present on the root as so: www.example.com/docs.json from the bentoml client code:
Copy code
url_parts = urlparse(server_url)

# TODO: SSL and grpc support
conn = HTTPConnection(url_parts.netloc)
conn.request("GET", "/docs.json")
Is there any future plans to address this issue?