Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8022760

Browse files
committed
proxy body in mobile dev
1 parent f2dbe73 commit 8022760

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/tauri/src/protocol/tauri.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ fn get_response<R: Runtime>(
121121
for (name, value) in request.headers() {
122122
proxy_builder = proxy_builder.header(name, value);
123123
}
124+
proxy_builder = proxy_builder.body(request.body().clone());
124125
match crate::async_runtime::safe_block_on(proxy_builder.send()) {
125126
Ok(r) => {
126127
let mut response_cache_ = response_cache.lock().unwrap();

0 commit comments

Comments
 (0)