Arnulf Wiedemann wrote:
> The problem is still, that mime-type text/xml is not allowed at all.
> Here is my fix for that:
Woops... good point.
>>diff apache_request.h apache_request.h.new
BTW, most people prefer the diff -u format - it's easier to read and
look at in emails.
> 83a84,86
>
>>#define TEXT_XML_ENCTYPE "text/xml"
>>#define TEXT_XML_ENCTYPE_LENGTH 8
>>
>
>
>>diff apache_request.c apache_request.c.new
>
> 375a376,378
>
>> else if (ct && strncaseEQ(ct, TEXT_XML_ENCTYPE,
>
> TEXT_XML_ENCTYPE_LENGTH)) {
>
>> result = ApacheRequest_parse_urlencoded(req);
>> }
>
> 405c408,410
> < return DECLINED;
> ---
>
>> if (!strncaseEQ(type, TEXT_XML_ENCTYPE, TEXT_XML_ENCTYPE_LENGTH))
>
> {
>
>> return DECLINED;
>> }
>
>
> using that it works with the Tcl raw_post command.
> Thanks for your help.
Great! I'll add that too. I've also mentioned these changes on the
apreq list, perhaps they'd be interested in incorporating them.
> using the following line for configuring:
We've abandoned that system and now just use regular old ./configure ;
make ; make install. That should definite work in the CVS version of Rivet.
I'm also fixing up the test suite which I hadn't looked at in a while.
It might be nice to add a test to make sure that it parses XML ok.
--
David N. Welton
- http://www.dedasys.com/davidw/
Apache, Linux, Tcl Consulting
- http://www.dedasys.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]