Date: 2011/08/10 - 05:42
Trac URL: http://trac.osgeo.org/mapserver/ticket/3982
WFS client layers are missing support for proxy and auth support.
Ticket #571 introduced support for proxy for WMS client layers inmsPrepareWMSLayerRequest(), but the same has not been done for WFS client layers in msPrepareWFSLayerRequest().
BTW, instead of just copying and pasting the proxy and auth code from mapwmslayer.c to mapwfslayer.c, we should really move it to a shared function.
Date: 2011/08/10 - 05:45
I attached an untested patch which is really just a port of the WMS proxy and auth handling code to mapwfslayer.c.
As I wrote above, the final fix for this should move this code to a generic function that will be called by both the WMS and WFS code.
attachment http://trac.osgeo.org/mapserver/attachment/ticket/3982/ticket3982-lazy.patch :
Untested patch - just a lazy copy of the WMS code
Add proxy and auth support to wfs client (#3982)
Copied & adapted from similar code in mapwmslayer.c.
Fix two copy-pasto errors while here, wfs_http_cookie was not