Hi David,
Am Donnerstag, 11. August 2005 08:16 schrieb David N. Welton:
> Arnulf Wiedemann wrote:
> > I am awaiting your answer, if you have found out a solution.
>
> It might take a few days, depending on how much time I have, but it
> seems that it's something that will be useful for others. If you have
> some C skills, it probably wouldn't be that hard to get started looking
> at it... to be correct you'd want to modify apache_request.c to save the
> data and then create a Tcl command to access it.
in the last Mail I had the diff running on the wrong version (there were 2
missing lines)
here is the complete apache_request.c diff:
360,367d359
< static void split_to_xml_var(ApacheRequest *req, const char *data)
< {
< if (*data) {
< ap_table_add(req->parms, "XML_CONTENTS", data);
< }
<
< }
<
383,385d374
< else if (ct && strncaseEQ(ct, TEXT_XML_ENCTYPE,
MULTIPART_ENCTYPE_LENGTH
)) {
< result = ApacheRequest_parse_urlencoded(req);
< }
415,417c404
< if (!strncaseEQ(type, TEXT_XML_ENCTYPE, TEXT_XML_ENCTYPE_LENGTH))
{
< return DECLINED;
< }
---
> return DECLINED;
423,427c410
< if (strncaseEQ(type, TEXT_XML_ENCTYPE, TEXT_XML_ENCTYPE_LENGTH)) {
< split_to_xml_var(req, data);
< } else {
< split_to_parms(req, data);
< }
---
> split_to_parms(req, data);
Arnulf
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]