[mapserver-dev] mapscript OWS request GET/POST

Daniel Morissette dmorissette at mapgears.com
Thu Oct 6 22:21:59 EDT 2011


On 11-10-05 09:45 AM, Fabian Schindler wrote:
>
> Now my question/proposal:
>
> Should I change the handling of request methods back to "everything that
> is not a POST request is a GET request."?
>
> I would prefer that the request method in the `OWSRequest` defaults to
> MS_GET_REQUEST, since this is normally the default request method.
>
> For the second version I'd add an additional check for any invalid
> request methods.
>

It seems to me that setting the request method to MS_GET_REQUEST by 
default would be a nice and simple solution. I didn't review the code 
before responding though, would you expect any backwards compatibility 
problem with this approach?

-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000


More information about the mapserver-dev mailing list