• 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: "So I want to connect to the internet in 2008..."
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "So I want to connect to the internet in 2008..."


  • Subject: Re: "So I want to connect to the internet in 2008..."
  • From: JP May <email@hidden>
  • Date: Mon, 23 Jun 2008 14:35:22 +0100

Dear Fred,



 Hence, should I use say
 http://developer.apple.com/samplecode/CFNetworkHTTPDownload/index.html
 CFNetworkHTTPDownload
 which seems to be from the "Core Foundation" legacy-history layer ???


CoreFoundation is going to be removed.

Gotchya, I did not know that thanks.




The cocoa url loading system is at a slightly higher level (http://developer.apple.com/documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html#//apple_ref/doc/uid/20001836) which may be more appropriate.

I see, I had no idea, thanks.

To be clear, the whole NSURL system does NOT seem to be set up to handle typical method=post forms ... it's more just for reading a straight http or https web page....

Is that correct?

Or is there a whole "And here's how to do forms ........." section I'm too stupid to see in the documentation??






 Does this thread here ...
 http://lists.apple.com/archives/macnetworkprog/2005/Dec/msg00066.html

Which is 3 years old, basically show the current state of the art for posting a form?

CFHTTP hasn't changed much (authentication is a little nicer now), that code looks fine to me.

Gotchya.

But just to be clear, CoreFoundation generally speaking is probably going away soon.

So CoreFoundation is kind of the "old" way of looking at the web.

Whereas the URL Loading System, "NSURL", is the "new" way of looking at the web.

(But -- as far as I can see anyway -- NSURL offers no support for Forms.)





Fred


Thanks very much !!!!

JP


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: "So I want to connect to the internet in 2008..."
      • From: Alexander von Below <email@hidden>
    • Re: "So I want to connect to the internet in 2008..."
      • From: Mike Cohen <email@hidden>
References: 
 >"So I want to connect to the internet in 2008..." (From: JP May <email@hidden>)

  • Prev by Date: Re: "So I want to connect to the internet in 2008..."
  • Next by Date: Re: "So I want to connect to the internet in 2008..."
  • Previous by thread: Re: "So I want to connect to the internet in 2008..."
  • Next by thread: Re: "So I want to connect to the internet in 2008..."
  • Index(es):
    • Date
    • Thread