Skip to content

Commit 56a6453

Browse files
authored
Merge pull request #275 from krakend/send_body_on_redirect
send_body_on_redirect instead of enable_redirect_post
2 parents 7e318a7 + d5deb0d commit 56a6453

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

backends/http-client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The HTTP client namespace allows you to set the behavior of the HTTP connections
2323
### Send the payload on 307 and 308 redirects
2424
KrakenD does not duplicate the body of the request when following a redirection because automatically doing it would affect the performance of all requests. In the unusual cases where your backend responds with a `307 Temporary Redirect` or a `308 Permanent Redirect`, enable the following flag to resend the original payload to the final redirected service:
2525

26-
{{< schema data="backend/http_client.json" filter="enable_redirect_post" >}}
26+
{{< schema data="backend/http_client.json" filter="send_body_on_redirect" >}}
2727

2828
Here is a configuration example:
2929

@@ -40,7 +40,7 @@ Here is a configuration example:
4040
"url_pattern": "/url-that-will-redirect-with-307",
4141
"extra_config": {
4242
"backend/http/client": {
43-
"enable_redirect_post": true
43+
"send_body_on_redirect": true
4444
}
4545
}
4646
}

0 commit comments

Comments
 (0)