Closed robertcopper closed 6 years ago
This is a great project. It makes uploading multipart forms that include large file attachments much easier!
I wrote a demo in Swift that uses the more modern URLSession. It's at:
https://github.com/robertcopper/PKMultipartInputStreamDemo
I can make it an alternate target of your original project, if you like.
Thanks a lot for this pull request Robert.
The
boundary
property is not markednonnull
so that Swift doesn't think it's optional. This makes it easier to put requests together.Also added calls to
[super init]
in the two init function where they were missing.