Skip to content

Commit

Permalink
Prevent redirection on Wave client
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Dec 24, 2022
1 parent 7c20423 commit 124cfb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class WaveClient {
// create http client
this.httpClient = HttpClient.newBuilder()
.version(HttpClient.Version.HTTP_1_1)
.followRedirects(HttpClient.Redirect.NORMAL)
.followRedirects(HttpClient.Redirect.NEVER)
.cookieHandler(cookieManager)
.connectTimeout(Duration.ofSeconds(10))
.build()
Expand Down

0 comments on commit 124cfb3

Please sign in to comment.