fix PeerTube upload: final working solution — simple multipart POST with CURLFile; iterated through Google-resumable PATCH protocol debugging (HTTP version negotiation, chunk body encoding, off-by-one fixes) before settling on simpler POST approach

This commit is contained in:
Pontoporeia committed 2026-05-19 00:08:06 +02:00
1 parent 1b0451581d
commit cdec3e96a6
9 files changed
+281 -112

No files matched your search

+2 -1
View File
@@ -17,7 +17,8 @@
- [x] Add CURLOPT_HEADERFUNCTION to capture response headers
- [x] Disable CURLOPT_FOLLOWLOCATION to preserve Location header
- [x] Add cancelUpload() helper for Delete-on-error cleanup
- [ ] Test with actual PeerTube instance
- [x] PeerTube upload fixed — simple multipart POST /api/v1/videos/upload works
- [x] Add upload-progress.js — XHR form submit with progress bar for admin add/edit forms
## HTMX Toast Feedback for Settings Checkboxes (contenus.php)