garydgregory commented on PR #544:
URL: https://github.com/apache/commons-io/pull/544#issuecomment-2466852322

   Closing, this works now.
   
   See `org.apache.commons.io.build.URIOriginTest.testGetInputStream(String)`:
   ```java
       @ParameterizedTest
       @ValueSource(strings = {
               "http://example.com";,
               "https://example.com";
       })
       void testGetInputStream(final String uri) throws Exception {
           final AbstractOrigin.URIOrigin origin = new 
AbstractOrigin.URIOrigin(new URI(uri));
           try (final InputStream in = origin.getInputStream()) {
               assertNotEquals(-1, in.read());
           }
       }
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to