Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 505 Bytes

File metadata and controls

11 lines (9 loc) · 505 Bytes

This project demonstrates that DefaultHttpClient of micronaut fails on redirects with a relative Location header.

Execute all tests and check the failing test redirectToRelativeUrl. It fails with

io.micronaut.http.client.exceptions.NoHostException: Request URI specifies no host to connect to
	at io.micronaut.http.client.netty.DefaultHttpClient.resolveRequestURI(DefaultHttpClient.java:1199)
	at io.micronaut.http.client.netty.DefaultHttpClient.redirectExchange(DefaultHttpClient.java:736)