Test result when requesting a getcapabilities document using http POST.

Test for a post request with key-value-pairs, applies to
mapserver/mapserver#4627
Distinguish between XML and KVP in POST requests.