tauri-apps / tauri-apps/plugins-workspace
[bug] http服务器设置头 Transfer-Encoding: chunked 后,fetch失败
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
### Describe the bug
当我http服务器设置了发送头 Transfer-Encoding: chunked 属性后,fetch 请求失败
因为我的数据比较大,需要分块发送给客户端
### Reproduction
_No response_
### Expected behavior
_No response_
### Full `tauri info` output
```text
> zhiyun_tools@0.1.0 tauri
> tauri "info"
[✔] Environment
- OS: Windows 10.0.22631 x86_64 (X64)
✔ WebView2: 129.0.2792.89
✔ MSVC:
- Visual Studio 15 生成工具 2017
- Visual Studio Community 2019
- Visual Studio Community 2022
✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 17.9.1
- yarn: 1.22.21
- npm: 8.11.0
[-] Packages
- tauri 🦀: 2.0.4
- tauri-build 🦀: 2.0.1
- wry 🦀: 0.46.2
- tao 🦀: 0.30.3
- tauri-cli 🦀: 2.0.3
- @tauri-apps/api : 2.0.2
- @tauri-apps/cli : 2.0.3
[-] Plugins
- tauri-plugin-log 🦀: 2.0.1
- @tauri-apps/plugin-log : not installed!
- tauri-plugin-http 🦀: 2.0.1
- @tauri-apps/plugin-http : 2.0.0
- tauri-plugin-fs 🦀: 2.0.1
- @tauri-apps/plugin-fs : not installed!
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:8080/
- framework: Vue.js (Vue CLI)
- bundler: Webpack
```
### Stack trace
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.