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
POST NSURLRequest, send Response to Web Browser
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
POST NSURLRequest, send Response to Web Browser
Subject
:
POST NSURLRequest, send Response to Web Browser
From: Jerry Krinock <
email@hidden
>
Date: Thu, 10 Jul 2008 22:26:42 -0700
At one point in my app, I send an NSURLRequest to a remote server using method POST, but I want the response to be rendered in the user's default web browser. So I write the response to a temporary file and then send message -[NSWorkspace openURL:::::]. Looks a little weird because the address bar in the web browser shows the temporary file:/// URL, but it works.
Can anyone think of any other way to do this? I know I could have WebKit and render it in a window in my app.
_______________________________________________
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: POST NSURLRequest, send Response to Web Browser
From:
Philip Aker <email@hidden>
Prev by Date:
Re: New class for synchronous URL loading?
Next by Date:
Re: POST NSURLRequest, send Response to Web Browser
Previous by thread:
RE: PAC files and CFNetworkCopyProxiesForAutoConfigurationScript()
Next by thread:
Re: POST NSURLRequest, send Response to Web Browser
Index(es):
Date
Thread