Re: Test p:import #006

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[anon] writes:

> Norm,
>
> Are you sure? If you use a Java library like Apache HttpClient, you can
> do something like this:
>
> HttpMethod method = ...;
> new HttpClient().executeMethod(method);
> URI resolvedURI = method.getURI();

In XSV, the Python equivalent is

 result=urlopen(Request("http:...",...))
 resolved=result.geturl()

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFLCrp7kjnJixAXWBoRAvCMAJwOuK67K3PBS7ErWVrftrGYEUTujgCdFIH/
Tmo+A9AlznjXHqLzuyh70BQ=
=oigj
-----END PGP SIGNATURE-----

Received on Monday, 23 November 2009 16:38:56 UTC