• 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: Make OTConnect() to use domain name instead of IP ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Make OTConnect() to use domain name instead of IP ?
      • From: "Frederick Cheung" <email@hidden>
  • Prev by Date: Re: Make OTConnect() to use domain name instead of IP ?
  • Next by Date: Re: Make OTConnect() to use domain name instead of IP ?
  • Previous by thread: Re: Make OTConnect() to use domain name instead of IP ?
  • Next by thread: Re: Make OTConnect() to use domain name instead of IP ?
  • Index(es):
    • Date
    • Thread