• 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: NSData & Mime Types...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSData & Mime Types...


  • Subject: Re: NSData & Mime Types...
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 19 Aug 2011 09:47:07 -0700

On Aug 19, 2011, at 5:51 AM, Kevin Muldoon wrote:

> I suspect my Content-Type needs to be specified as Content-Type: application/pdf rather than Content-Type: application/octet-stream; What methods/techniques are available in NSData to set Mime-Types and other such things?

None. NSData is a simple uninterpreted blob of bytes. You’ll have to look at the docs for the EDMessage framework to see how you can customize the MIME type of your attachment.

—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

  • Follow-Ups:
    • Re: NSData & Mime Types...
      • From: Kevin Muldoon <email@hidden>
References: 
 >NSData & Mime Types... (From: Kevin Muldoon <email@hidden>)

  • Prev by Date: Re: Specify valid values for a Core Data attribute
  • Next by Date: Re: Lion - CopiesOnScroll Bug with table view
  • Previous by thread: NSData & Mime Types...
  • Next by thread: Re: NSData & Mime Types...
  • Index(es):
    • Date
    • Thread