Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

How can I change the content-type in HTML::Mason?

by Pedro Picasso (Sexton)
on Nov 02, 2001 at 01:40 UTC ( #122687=perlquestion: print w/replies, xml ) Need Help??

Pedro Picasso has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to send a WML page to a WAP device (Handspring Visor). The system that I have to work with uses HTML::Mason which is nice, but I can't seem to get Mason to change content-type. It sends content-type automatically and before I could do so with any thing else. WML needs content-type vnd.wap.wml.

Originally posted as a Categorized Question.

  • Comment on How can I change the content-type in HTML::Mason?

Replies are listed 'Best First'.
Re: How can I change the content-type in HTML::Mason?
by blakem (Monsignor) on Nov 02, 2001 at 02:01 UTC
    I've used this to set the content type for dynamic images served up via mod_perl/mason:


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://122687]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2023-12-10 06:52 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (38 votes). Check out past polls.