-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
releasedIssue has been releasedIssue has been released
Description
The DoclingServeClient removes the path part from the baseUrl when the request URI is generated.
e.g. "http://localhost:5001/api/" + "/v1/convert/file" is resolved to "http://localhost:5001/v1/convert/file" and the "api" path is lost.
When
var requestBuilder = HttpRequest.newBuilder() .uri(this.baseUrl.resolve(requestContext.getUri()))
is used to create the request URI the requeestContext.uri must not start with a slash to preserve the path of the baseUrl.
"http://localhost:5001/api/" + "v1/convert/file" is resolved to "http://localhost:5001/api/v1/convert/file"
Metadata
Metadata
Assignees
Labels
releasedIssue has been releasedIssue has been released