Re: How to parse multipart/form-data?
Re: How to parse multipart/form-data?
- Subject: Re: How to parse multipart/form-data?
- From: Jens Alfke <email@hidden>
- Date: Sun, 29 Jan 2012 17:04:12 -0800
On Jan 27, 2012, at 10:29 PM, Kai Cao wrote:
> I'm using CocoaHTTPServer to upload files from computer to iOS devices. But the result NSData received from the browser is multipart form data, which is really hard to parse manually. I know I can write a parser from scratch, however, it's time consuming and bug prone. I'm wondering wether there's a sophisticated library/framework for this. Any help would be appreciated. Thanks in advance.
Google’s GTMHTTPFetcher library has some MIME multipart support, but it might only support generating, not parsing:
http://code.google.com/p/gtm-http-fetcher/wiki/GTMHTTPFetcherIntroduction#Uploading_Multipart_MIME_Documents
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden