http
Make HTTP requests from your app.
2.10.x
Section titled “2.10.x”2.10.0
Section titled “2.10.0”068bc7cc(#3786 by @amrbashir) Fix request cancellation, including signals supplied throughRequestobjects, abort-listener cleanup, and concurrent response-body reads.fetch_cancelandfetch_cancel_bodynow only close the plugin's own requests and responses, instead of any resource id they are given.068bc7cc(#3786 by @amrbashir) Fix HTTP resource leaks on cancellation, errors, navigation, window close, and bodyless responses, including WebKit memory leaks. Clean up abandoned responses after garbage collection on supported webviews and reject response statuses outside 200–599.068bc7cc(#3786 by @amrbashir) Fix loss of response URLs and headers when cloning a previously cloned response.a8370474(#3815 by @lucasfernog) Update MSRV to 1.94.3dc122ca(#3820 by @renovate) Update dependencytaurito 2.13.
Dependencies
Section titled “Dependencies”- Upgraded to
fs-js@2.8.0
b11126ea(#3756 by @Lorkydey) Release native HTTP response resources for responses with no body, such as204 No Content, even when the response is never read.
2fbd5634(#3732 by @followdarko) Improvefetchrequest by avoiding serialization when possible while handling the request body.
0e176756(#3586 by @cpruijsen) Fixfetchthrowing aTypeErrorwhen a response header value contains non-ASCII bytes (e.g. a UTF-8 encodedContent-Dispositionfilename). Header values are now treated as byte strings like in a browser: response header values are decoded as ISO-8859-1 so the raw bytes are preserved as a validByteStringfornew Headers(), and request header values are sent as their raw bytes (one byte per character) instead of being UTF-8 encoded. A request header value with a character such aséis now sent as the single byte0xE9, as browsers do.
Dependencies
Section titled “Dependencies”- Upgraded to
fs@2.7.1
Dependencies
Section titled “Dependencies”- Upgraded to
fs-js@2.7.0
b443d6be(#3669 by @followdarko)fetch_sendnow releases the request's resources once the send settles. Before, a request that got a response or failed to send left itsFetchRequestand abort sender in the webview's resource table until the webview was destroyed, so a long-lived app grew with every request.3113a54c(#3670 by @FabianLars) Updated inner dependencyurlpatternfromv0.3tov0.6to fix advisories about unmaintainedunic-crates.
43538190(#3656 by @FabianLars) Re-release@tauri-apps/plugin-http@2.7.0as2.8.0.
ae3c808e(#3602) The plugin's global API script (used withapp.withGlobalTauri) now resolves the core API fromwindow.__TAURI__instead of bundling its own copy of@tauri-apps/api. Values created with the core API are now accepted by plugin APIs in global mode (e.g. anImagefromwindow.__TAURI__.imagepassed toclipboardManager.writeImage, which previously failed theinstanceofcheck against the plugin's private copy), and the script is considerably smaller.9b29b601Update MSRV to 1.90 to match tauri.a87a3c7dUpdate documentation.
Dependencies
Section titled “Dependencies”-
Upgraded to
fs-js@2.6.0 -
1198a524Security: Added thescopeRedirectsplugin configuration option, which checks the URL scope on every hop of a redirect chain instead of only on the URL requested by the frontend. Without it, a server on an allowed origin can redirect the request to any other origin - includinglocalhostservices, internal hosts and cloud metadata endpoints - and the plugin follows it, returning the response to the webview.{"plugins": {"http": {"scopeRedirects": true}}}It is opt-in because a redirect to a URL that is not allowed by the scope now fails with
url not allowed on the configured scopeinstead of being followed, so applications that rely on being redirected outside of their scope must add the redirect target to the scope. This will become the default in v3.Note that
tauri_plugin_http::init()now returnsTauriPlugin<R, Option<Config>>instead ofTauriPlugin<R>.
a21555dd(#3566 by @followdarko) Fix unhandled promise rejections on everyfetchteardown: the request/body cleanup commands were fired as floating promises, and releasing an already-released resource rejects withThe resource id N is invalid..dropBodyis now idempotent and both cleanup calls handle their own rejection.
f8053e65(#3527 by @Legend-Master) Documented Cargo feature flags in each plugin's crate-level documentation.19fb3926(#3528 by @Legend-Master) Addedsystem-proxyfeature to replace the oldmacos-system-configurationfeature flag to match the new reqwest API.
Dependencies
Section titled “Dependencies”- Upgraded to
fs-js@2.5.2
Dependencies
Section titled “Dependencies”- Upgraded to
fs-js@2.5.1
29712892(#3252 by @NVolcz) Correct Response header initialization to support cloning and ensure Set-Cookie visibility.
Dependencies
Section titled “Dependencies”- Upgraded to
fs-js@2.5.0
b1dbee2c(#3210 by @FabianLars) Fixed an issue that caused the Origin header to always benullon macOS, iOS and Linux.
e8915f17(#2562 by @amrbashir) Fix aborting a request in the middle of a streaming response.
Dependencies
Section titled “Dependencies”- Upgraded to
fs-js@2.4.5
93426f85Fixed an issue that caused docs.rs builds to fail. No user facing changes.
Dependencies
Section titled “Dependencies”- Upgraded to
fs-js@2.4.4
Dependencies
Section titled “Dependencies”- Upgraded to
fs-js@2.4.3
Dependencies
Section titled “Dependencies”- Upgraded to
fs-js@2.4.2
Dependencies
Section titled “Dependencies”- Upgraded to
fs-js@2.4.1
Dependencies
Section titled “Dependencies”- Upgraded to
fs-js@2.4.0
Full Changelog
Section titled “Full Changelog”Version List
Section titled “Version List”- v2.10.0
- v2.9.0 Nov 10, 2026
- v2.8.3 Oct 14, 2026
- v2.8.2 Oct 10, 2026
- v2.8.1 Oct 7, 2026
- v2.8.0 Sep 29, 2026
- v2.7.0 Sep 26, 2026
- v2.6.1 Sep 16, 2026
- v2.6.0 Aug 31, 2026
- v2.5.9 May 2, 2026
- v2.5.8 Apr 4, 2026
- v2.5.7 Feb 3, 2026
- v2.5.6 Jan 14, 2026
- v2.5.5 Jan 8, 2026
- v2.5.4 Oct 27, 2025
- v2.5.3 Oct 26, 2025
- v2.5.2 Aug 20, 2025
- v2.5.1 Jul 20, 2025
- v2.5.0 Jun 25, 2025
- v2.4.4 May 20, 2025
- v2.4.3 Apr 2, 2025
- v2.4.2 Mar 17, 2025
- v2.4.1 Mar 15, 2025
- v2.4.0 Mar 10, 2025
- v2.3.0 Jan 27, 2025
- v2.2.0 Dec 9, 2024
- v2.0.4 Dec 2, 2024
- v2.0.3 Oct 21, 2024
- v2.0.2 Dec 9, 2024
- v2.0.1 Oct 20, 2024
- v2.0.0 Oct 2, 2024
- v2.0.0-rc.6 Oct 2, 2024
- v2.0.0-rc.5 Sep 15, 2024
- v2.0.0-rc.4 Sep 12, 2024
- v2.0.0-rc.3 Sep 5, 2024
- v2.0.0-rc.2 Aug 29, 2024
- v2.0.0-rc.1 Aug 17, 2024
- v2.0.0-rc.0 Aug 2, 2024
- v2.0.0-beta.9 Jul 31, 2024
- v2.0.0-beta.8 Jul 12, 2024
- v2.0.0-beta.7 Jul 2, 2024
- v2.0.0-beta.6 Jun 17, 2024
- v2.0.0-beta.5 May 30, 2024
- v2.0.0-beta.4 May 30, 2024
- v2.0.0-beta.3 May 1, 2024
- v2.0.0-beta.2 Mar 7, 2024
- v2.0.0-beta.1 Feb 21, 2024
- v2.0.0-beta.0 Feb 3, 2024
- v2.0.0-alpha.9 Dec 28, 2023
- v2.0.0-alpha.6 Dec 20, 2023
- v2.0.0-alpha.5 Dec 20, 2023
- v2.0.0-alpha.4 Dec 14, 2023
- v2.0.0-alpha.3 Oct 29, 2023
- v2.0.0-alpha.2 Oct 23, 2023
- v2.0.0-alpha.1 Aug 14, 2023
- v2.0.0-alpha.0 May 24, 2023
© 2026 Tauri Contributors. CC-BY / MIT