in reply to Re: Re: Handling XML content with HTTP::Daemon
in thread Handling XML content with HTTP::Daemon
Ah, HTTP::Daemon expects a result code too. So you need:
$c->send_response( 200, "Content-type: image/svg+xml\r\n\r\n". $svg->xmlify() );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Handling XML content with HTTP::Daemon
by hackmare (Pilgrim) on Jul 10, 2002 at 10:00 UTC |
In Section
Seekers of Perl Wisdom