mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
4a5ab18a22
* fix(upload): return type on POST is now string A POST to a webserver can not always be expected to be a JSON response. Success is now determined by the HTTP return code. Upon success the body content is returned as a string. * feat: add content-length on POST Not all embedded devices are acceptable to receiving unspecified amounts of data. Appending the content-length up front helps this devices succeed. * fix: return values unified The return values was not used. On POST the HTTP error code is returned as an enum. * fix: upload, return value as string * Update plugins/upload/src/lib.rs Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app> * Update plugins/upload/src/lib.rs Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app> * fix: added covector changelog file --------- Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>