• 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
Problem : getting html data using NSString with a Proxy server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: How to create off-screen GWorld
  • Next by Date: Re: simple genstrings question
  • Previous by thread: How to create off-screen GWorld
  • Next by thread: Aqua Interface Guidelines & Close Window location ?
  • Index(es):
    • Date
    • Thread