Hi,

On Fri, 2012-04-13 at 22:37 +0200, Tommi Mäkitalo wrote:
> But your question leads me to an idea. What do you (all) think about 
> extending this url mapping with the method. If you can configure 
> something like:
> 
> mapUrlGET "^/(.*)$"   $1_GET@myapp
> mapUrlPOST "^/(.*)$"   $1_POST@myapp
> 
> Then you can code a component named "test_GET", which is called with
> the 
> url "/test" but only when the method is "GET" and a component 
> "test_POST", which is called when the method is "POST". You do not
> have 
> to dispatch it yourself then. 

i think it could be usefull, make sure that HEAD is working correctly
for mapUrlGET. 


Regards,
Julian


BTW: please add a reply-to header in Mailman.


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to