• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to parse multipart/form-data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to parse multipart/form-data? (From: Kai Cao <email@hidden>)

  • Prev by Date: Re: Use of Application nib file template
  • Next by Date: How do you run an app on the device with Instruments?
  • Previous by thread: Re: How to parse multipart/form-data?
  • Next by thread: Use of Application nib file template
  • Index(es):
    • Date
    • Thread