pyke369 / PKMultipartInputStream

an NSInputStream subclass suitable for building multipart/form-data http requests bodies in MacOSX/iOS applications.
http://github.com/pyke369/PKMultipartInputStream
MIT License
73 stars 19 forks source link

Adding parts with arbitrary HTTP headers #12

Closed VilemKurz closed 8 years ago

VilemKurz commented 8 years ago

This allows to add parts together with their headers, instead forcing template headers offered by PKMultipartInputStream.

I needed this for streamed SOAP MTOM request, which requires different part headers than those baked to PKMultipartInputStream.

I think it adds a lot of flexibility to the library.

billinghamj commented 8 years ago

@pyke369 Any chance of this being merged?

pyke369 commented 8 years ago

Thanks for the code @VilemKurz, sorry for the delay.