Hello,

I'm seeing an interesting behavior with dhandlers.

I'm running under mod_perl1, and everything else is behaving as
expected...

with a simple dhandler document_root/folder/dhandler:

<h1>Hello</h1>
<%init>
</%init>

If I ask for http://localhost/folder/banana.html

I get a response back with content type text/html.


If I ask for http://localhost/folder/subfolder/banana.html

I get a response back with content type text/plain.


It's all wrapped up in my autohandler template as expected and I'm not
changing the content-type anywhere in my code...

I'd be less surprised if it did the same thing in both cases.

Is this expected behaviour? Do I have to declare my content-type
explicitly in a dhandler that handles longer args - and should I be
declaring it in all by dhandlers?


Thanks for any insight...

Carl

       -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
       Carl Vincent             http://www.netskills.ac.uk/ (URL)
       Systems Manager                       0191 222 5003 (voice)
       NETSKILLS - Quality Internet Training 0191 222 5001  (fax)


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to