swift-nio-extras icon indicating copy to clipboard operation
swift-nio-extras copied to clipboard

Import HTTP resumable upload sample code

Open guoye-zhang opened this issue 1 year ago • 2 comments

Support HTTP resumable upload.

(NIOResumableUpload depends on NIOHTTPTypes, so this PR includes changes in #202. Please leave comments specific for NIOHTTPTypes in #202)

Motivation:

Supporting HTTP resumable upload protocol defined in https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-resumable-upload-01

Modifications:

2 new public classes, HTTPResumableUploadHandler and HTTPResumableUploadContext, and a few other supporting objects to manage resumable uploads and translate them into regular uploads.

guoye-zhang avatar Jul 10 '23 23:07 guoye-zhang

@FranzBusch want to take another quick look at this?

Lukasa avatar Oct 26 '23 07:10 Lukasa

I think we should add this here: it's in support of sample code that was released with WWDC, and we should be willing to support that code.

Lukasa avatar Oct 26 '23 13:10 Lukasa