curl-library
Re: CURLOPT_SCOPE
From: Yang Tse <yangsita_at_gmail.com>
Date: Wed, 9 Jul 2008 04:26:41 +0200
Date: Wed, 9 Jul 2008 04:26:41 +0200
2008/7/8, Dan Fandrich wrote:
> With a new option to set the scope, it begs the question as to how to
> set the scope from the command line. The obvious way is within the
> URL, in which case you wouldn't need a new option.
> [...]
> RFC4007 section 11 discusses the problem without entirely
> resolving it. It talks about the (acknowledged ugly) default
> solution of including the zone ID in the URL with an escaped %
> character, which would give URLs like http://[fe80::1234%251]/ for
> an address of fe80::1234%1. That's probably the more general
> solution, even if the syntax is pretty ugly.
MS seems to use the percent escaped way.
http://msdn.microsoft.com/en-us/library/aa385325.aspx
-- -=[Yang]=-Received on 2008-07-09