5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 19:39:59 +08:00
wails/v3/internal/assetserver/webview
Fabio Massaioli d4096868e3
[v3] Fix and optimise assetserver (#4049)
* Fix and optimize content type sniffer

- Minimize copying and buffering
- Ensure it sniffs the full 512-bytes prefix

* Fix assorted warnings

* Cleanup error formatting

- Remove unnecessary formatting calls
- Fix invalid format strings
- Standardise logging calls

* Fix and optimize index fallback method

- Pass through non-404 responses correctly
- Do not buffer original response

* Test content sniffing and index fallback

* Update changelog

* Remove obsolete check

* Add safety checks in sniffer
2025-02-09 00:02:54 +11:00
..
request_darwin.go [v3] Fix and optimise assetserver (#4049) 2025-02-09 00:02:54 +11:00
request_finalizer.go Move assetserver to internal 2023-08-14 08:31:55 +10:00
request_linux_purego.go Move assetserver to internal 2023-08-14 08:31:55 +10:00
request_linux.go [V3-Linux] Upgrade to Webkitgtk4.1 (#3461) 2024-05-08 18:08:14 +10:00
request_windows.go [v3] Fix and optimise assetserver (#4049) 2025-02-09 00:02:54 +11:00
request.go Move assetserver to internal 2023-08-14 08:31:55 +10:00
responsewriter_darwin.go [windows] Serve assets async 2023-10-05 19:18:32 +11:00
responsewriter_linux_purego.go [v3 linux] api changes (#2830) 2023-08-19 06:12:34 +10:00
responsewriter_linux.go [V3-Linux] Upgrade to Webkitgtk4.1 (#3461) 2024-05-08 18:08:14 +10:00
responsewriter_windows.go [v3] Fix and optimise assetserver (#4049) 2025-02-09 00:02:54 +11:00
responsewriter.go [windows] Serve assets async 2023-10-05 19:18:32 +11:00
webkit2_purego.go Move to latest webkit2 and remove older code. 2024-03-06 16:59:13 -06:00
webkit2.go [V3-Linux] Upgrade to Webkitgtk4.1 (#3461) 2024-05-08 18:08:14 +10:00