• 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: Kevin Muldoon <email@hidden>
  • Date: Fri, 19 Aug 2011 12:52:33 -0400

Alright. Makes sense. Thanks for replying everyone.

On Aug 19, 2011, at 12:47 PM, Jens Alfke wrote:


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


Kevin Muldoon
e: email@hidden

_______________________________________________

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: 
 >NSData & Mime Types... (From: Kevin Muldoon <email@hidden>)
 >Re: NSData & Mime Types... (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Lion - CopiesOnScroll Bug with table view
  • Next by Date: Re: Printing [SOLVED]
  • Previous by thread: Re: NSData & Mime Types...
  • Next by thread: Dug a hole with NSCGSImageRep...
  • Index(es):
    • Date
    • Thread