What does feign do with 302 responses?

when the gateway returns a response of 302, feign does not report an error, but redirects the url, in the response of 302. Is there a custom configuration that can be implemented?

Mar.01,2021

1. If you use Feign, directly, you can modify Options to achieve automatic redirection. The default is true, that is, automatic redirection.

feign:
  httpclient:
    follow-redirects: false
Menu