Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^5: Finding XML POST data in HTTP::Server::Simple::CGI

by derby (Abbot)
on Mar 17, 2016 at 10:43 UTC ( #1158065=note: print w/replies, xml ) Need Help??

in reply to Re^4: Finding XML POST data in HTTP::Server::Simple::CGI
in thread Finding XML POST data in HTTP::Server::Simple::CGI

update: just saw the response to update CGI to properly handle application/xml. That may be a better idea than using CGI::Simple -- YMMMV.

Then unfortunately you cannot use HTTP::Server::Simple::CGI out of the box, you'll need to tell it to use something other than CGI. The docs show how you could use CGI::Simple.

my $server = SimpleSrv->new(8080); $server->cgi_class('CGI::Simple'); $server->cgi_init(sub { require CGI::Simple; }); $server->host(''); $server->run();


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-01-20 06:30 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (56 votes). Check out past polls.