Re: Make OTConnect() to use domain name instead of IP ?
Re: Make OTConnect() to use domain name instead of IP ?
- Subject: Re: Make OTConnect() to use domain name instead of IP ?
- From: email@hidden
- Date: Thu, 23 Feb 2006 09:41:03 +0100 (CET)
> OTConnect has to do a dns lookup or else it wouldn't know what to
> connect to. What you provider probably means is that you need to
> include a Host header. The format of this header is dead simple, if
> your webserver is www.example.com then your header should be
> Host: www.example.com
Thanks for the tip - GET requests work fine after adding the "host:.."
line
to the HTTP header.
Probably someone at apple should update the OTSimpleDownloadHTTP example
to use a valid GET request working with all webservers?
jan
_______________________________________________
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