Perrin Harkins wrote:
On Thu, 2003-11-06 at 18:56, Dustin Whitney wrote:

$ENV{'MOD_PERL'} is undefined, which leaves me to believe that Apache::Request isn't involved


Yes, it sounds like this is a general apache problem, not a mod_perl
problem.  Did you change to a different version of apache when you did
this install?


but the error logs produce:

[Thu Nov 6 16:56:45 2003] [error] [client 192.168.0.5] [libapreq] unknown content-type: `text/xml'


I think that's just the C library that Apache is using internally.

Nope. It's Apache::Request. Apache doesn't use libapreq:


c/apache_request.c:
    if (r->method_number == M_POST) {
        const char *ct = ap_table_get(r->headers_in, "Content-type");
        if (ct && strncaseEQ(ct, DEFAULT_ENCTYPE, DEFAULT_ENCTYPE_LENGTH)) {
            result = ApacheRequest_parse_urlencoded(req);
        }
        else if (ct && strncaseEQ(ct, MULTIPART_ENCTYPE, MULTIPART_ENCTYPE_LENGTH)) {
           result = ApacheRequest_parse_multipart(req);
        }
        else {
            ap_log_rerror(REQ_ERROR,
                          "[libapreq] unknown content-type: `%s'", ct);
            result = HTTP_INTERNAL_SERVER_ERROR;
        }

It doesn't know how to deal with xml POST encoding.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to