[OpenLayers-Users] OpenLayers.Request POST and IE 6/7 issues
Ian
iansgis at gmail.com
Wed Oct 29 15:57:19 EDT 2008
> Ah, the key is at the bottom (content type):
>
> OpenLayers.Request.POST({
> url: printURL,
> data: OpenLayers.Util.getParameterString(
> {width:size.w, height:size.h}
> ),
> headers: {
> "Content-Type": "application/x-www-form-urlencoded"
> },
> callback: function(request) {
> alert(request.responseText);
> }
> });
>
>
That was it thank you. I didn't know that the default encoding for forms is
"application/x-www-form-urlencoded". I'll update the Printing wiki.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081029/36ebae34/attachment.html
More information about the Users
mailing list