[mapserver-dev] msautotest-wxs: how to suppress the header information?

Tamas Szekeres szekerest at gmail.com
Thu Mar 5 19:15:23 EST 2009


I doubt if it was a libxml issue. It seems like mapserv->sendheaders should
be set to false in mapserv.c in order not to print out the headers along
with the output.
This switch is contolled by the mapserv  -nh commandline option, and I
suspect this haven't been set by the wxs test scripts yet.

Best regards,


2009/3/6 Normand Savard <nsavard at mapgears.com>

> Tamas Szekeres wrote:
>> Hi All,
>> I'm wondering how the msautotest should be executed on windows. Currently
>> I
>> get much of the failures because mapserv provides the result with the
>> content-type included at the beginning of each file (including the png-s)
>> which is compared to the expected files without having that extra
>> information.
>> Is there a way to suppress this header inclusion without touching the
>> code?
>> (I know mapserv has the '-nh' option but it seems mstestlib.py should be
>> changed to include this switch)
> Tamas,
> I think it may be related to libxml2 version being lower then 2.6.31.
> See http://trac.osgeo.org/mapserver/ticket/2776
> I opened 2777 to try to find a fix in the msautotest tests.  I have
> something in mind and will test it.
> Norm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20090306/52683861/attachment.html

More information about the mapserver-dev mailing list