nastra commented on code in PR #12556: URL: https://github.com/apache/iceberg/pull/12556#discussion_r2000458253
########## core/src/test/java/org/apache/iceberg/rest/TestHTTPRequest.java: ########## @@ -107,6 +105,18 @@ public void malformedPath() { "Received a malformed path for a REST request: /v1/namespaces. Paths should not start with /"); } + @Test + public void relativePathWithoutBaseUri() { + assertThatThrownBy( + () -> + ImmutableHTTPRequest.builder() + .method(HTTPRequest.HTTPMethod.GET) + .path("v1/namespaces") // wrong leading slash Review Comment: does the comment apply here? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org