We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ad9531 commit ba5560bCopy full SHA for ba5560b
.changes/attohttpc-max-redirections.md
@@ -0,0 +1,5 @@
1
+---
2
+"tauri": patch
3
4
+
5
+Implement `api::http::ClientBuilder::max_redirections` for the default attohttpc client.
core/tauri/src/api/http.rs
@@ -141,6 +141,10 @@ impl Client {
141
}
142
143
144
+ if let Some(max_redirections) = self.0.max_redirections {
145
+ request_builder = request_builder.max_redirections(max_redirections as u32);
146
+ }
147
148
if let Some(timeout) = request.timeout {
149
request_builder = request_builder.timeout(timeout);
150
#[cfg(windows)]
0 commit comments