[Catalyst] uri_for and Chained actions
Matt S Trout
dbix-class at trout.me.uk
Tue Oct 16 19:06:36 GMT 2007
On Tue, Oct 16, 2007 at 04:06:46PM +0400, Oleg Pronin wrote:
> another problem is a lot of internet traffic for transferring absolute urls.
> I think uri_for should delete "http://domain" from target url if requested
> host and target host (and protocols) are the same.
There was a lot of arguing about that when we first implemented it; providing
the full domain won, just about.
We can't really change uri_for at this point but when we look at adding
action_uri and static_uri for 5.80 we can revisit the decision (FWIW I was
on the side of not using the full domain)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the Catalyst
mailing list