Re: HTTP_Client, HTTP_Request or Net_Url problem
| From: | Markus Fischer | Date: | Wed, 17 May 2006 20:04:36 +0000 |
| Subject: | Re: HTTP_Client, HTTP_Request or Net_Url problem | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42526@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Justin Patrin wrote:
>> * what should Net_URL do with invalid URLs?
>> * Should it be possible to have a valid Net_URL object with an invalid
>> URL?
>
> It's not that the browsers use the bad URL.
Exactly, and that's my point. You pass an invalid URL to the browser
(with spaces in it) and the browser automatically substitutes them.
I think that's why I would ecpect this from HTTP_Client, HTTP_Request
and thus Net_URL.
- - Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEa4HU1nS0RcInK9ARAvHQAJoDjMtCQzg8ki27vY9VB/r+V8kAkACg1WO5
O8moQkXMt9BtWBmMV1SJVS4=
=LSSY
-----END PGP SIGNATURE-----