On the topic of Zend_Uri improvements, currently it's difficult to sub- class Zend_Uri_Http or any other possible scheme and use it in conjunction with
the Zend_Uri::factory() method.

The lookup is currently a single switch statement that isn't very well
abstracted within Zend_Uri anyway. This seems like a perfect application of Zend_Loader_Plugin for automatically detecting supported schemes and loading
them on the fly.

Thoughts?
--
Mathew Byrne


On Jun 20, 2008, at 1:29 AM, Eric Marden wrote:

On 6/19/08 1:04 AM, "Mathew Byrne" <[EMAIL PROTECTED]> wrote:

Good to see Zend_Http_Client uses the Zend_Uri component for handling
urls and can also accept Zend_Uri objects in it's constructor/ setUri method.

I think however that it should probably automatically detect the
presence of a username/password combination in the Zend_Uri object and
automatically set HTTP authentication in the Zend_Http_Client object.

Thoughts? I'll make a ticket if anyone else thinks this has any merit.

I think it has merit.

- Eric Marden

Reply via email to