• 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: Can core data save to a remote file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can core data save to a remote file?


  • Subject: Re: Can core data save to a remote file?
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 14 Mar 2008 09:05:18 -0700


On 13 Mar '08, at 10:10 PM, Kyle Sluder wrote:

POST isn't usable for this: "The action performed by the POST method
might not result in a resource that can be identified by a URI.

Not generically usable, no, but some web-apps have protocols that use POST to save a resource in a PUT-like way (e.g. the Blogger API.)


PUT would be the working option, but nobody has PUT enabled without WebDAV.

That's simply not true. I already mentioned the Atom Publishing Protocol, and there are any number of other REST-based protocols that use PUT — Flickr, GData and Amazon's S3 and SQS come to mind. (See the O'Reilly book "RESTful Web Services" for more examples.)


But this is getting off topic for Cocoa-Dev so I should take my advice and shut up :) Except to point out that it's quite easy to use NSURLConnection to do PUTs: you just need to set up the request by calling -setHTTPMethod: @"PUT", and then use -setHTTPBody: or - setHTTPBodyStream:.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >Can core data save to a remote file? (From: "Adam Gerson" <email@hidden>)
 >Re: Can core data save to a remote file? (From: "Kyle Sluder" <email@hidden>)
 >Re: Can core data save to a remote file? (From: Jens Alfke <email@hidden>)
 >Re: Can core data save to a remote file? (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: Accessing memory out of set memory limit
  • Next by Date: modal sheet not understood
  • Previous by thread: Re: Can core data save to a remote file?
  • Next by thread: Re: Can core data save to a remote file?
  • Index(es):
    • Date
    • Thread