Closed dadoonet closed 2 years ago
@dadoonet I reviewed. Can you anyways please rebase as I merged #10 . I don't think this new behavior for following redirects (which surely is good to have) should be the default as it might break existing usage.
I rebased.
The default behavior for the http client is to follow the redirects. This change basically should not break the current behavior.
Thanks!
I see, so I got that wrong 😬 all the better to get this feature in 😀
@scravy I don't think I saw a release with #10 and #11. Are you planning to do one?
@dadoonet I hadn't done one yet. It's released now: https://repo.maven.apache.org/maven2/de/scravy/waitfor-maven-plugin/1.4/
We add a support for
redirect
option (default totrue
).The
redirect
flag allows following or not the 302 REDIRECT response. Set it tofalse
to avoid redirect. If a redirect is sent by the server, thestatusCode
will be302
.