title: How to make reactive webclient follow 3XX-redirects?
body: <p>I have created a basic REST controller which makes requests using the reactive Webclient in Spring-boot 2 using netty.</p>
  
  <pre><code>@RestController
  @RequestMapping("/test")
  @Log4j2
  public class TestController {
  
      private WebClient client;
  
      @PostConstruct
      public void setup() {
  
          client = WebClient.builder()
                  .baseUrl("http://www.google.com/")
                  .exchangeStrategies(ExchangeStrategies.withDefaults())
                  .build();
      }
  
  
      @GetMapping
      public Mono&lt;String&gt; hello() throws URISyntaxException {
          return client.get().retrieve().bodyToMono(String.class);
      }
  
  }
  </code></pre>
  
  <p>When I get a 3XX response code back I want the webclient to follow the redirect using the Location in the response and call that URI recursively until I get a non 3XX response.</p>
  
  <p>The actual result I get is the 3XX response.</p>