Re: MIME multipart reader/writer code

2012-02-06 Thread Jens Alfke
On Feb 5, 2012, at 7:01 PM, I wrote: > FYI, if you want to use any kind of custom NSInputStream subclass with > HTTPBodyStream, you’ll run into some frustrating CFNetwork bugs. I figured > out how to work around them and TDMultiInputStream shows how. Apple’s omniscient Quinn just pointed out,

MIME multipart reader/writer code

2012-02-05 Thread Jens Alfke
A few weeks ago someone here was asking about code for reading and writing MIME multipart format. It turned out I needed this too, so I implemented some classes to do the job. They handle streaming of large bodies, so you can upload and download large files without taking up much RAM. They’re p