A simple proxy to enable seamless resumable uploads with SwissTransfer.
SwissTransfer's API currently only supports chunked uploads, making it difficult to use with background URLSession on iOS. This proxy provides:
- A non-chunked upload endpoint as a drop-in replacement for the existing API.
- A foundation for resumable uploads, following RFC Resumable Upload Specification.
The next step is full resumable upload support, allowing out-of-the-box background uploads on iOS.
Run the proxy server (port 8080 is used):
go run main.goUpload files to this endpoint:
POST /upload?containerUUID=<ContainerUUID>&uploadFileUUID=<FileUUID>
Headers:
x-upload-host: The upload host for the file transfer.
- ✅ Non-chunked upload proxy
- ⏳ Implement resumable uploads following RFC 9110