Problem : getting html data using NSString with a Proxy server
Problem : getting html data using NSString with a Proxy server
- Subject: Problem : getting html data using NSString with a Proxy server
- From: Thierry Bucco <email@hidden>
- Date: Wed, 19 Sep 2001 16:53:00 +0200
Hi,
I have a problem getting html datas using NSString
stringWithContentsOfURL.
It works for me but not for my friend which uses a proxy server.
his proxy settings are well entered in Systems prefs.
So is it possible for you to test this function if you are using a proxy
server ?
You can download my little project (20 KB) from my web server :
http://thierrybucco.free.fr/test.sit
but it's just this piece of code :
NSString *htmlDatas;
htmlDatas = [NSString stringWithContentsOfURL:[NSURL
URLWithString:@"
http://www.apple.com"]];
if (htmlDatas != nil) NSLog(htmlDatas);
Thank you very much for your help.
Thierry Bucco