hi-
i have code below that performs a POST request, where i'm setting the
Content-Type HTTP header.
===
<dataset name="stopWS" querytype="POST" type="http"
datafromchild="true" proxied="false" queuerequests="true">
<method name="doRequest">
setHeader('Content-Type',
'application/x-www-form-urlencoded; charset=UTF-8');
super.doRequest();
</method>
</dataset>
===
===
stopWS.setAttribute('src', '/api/stop');
stopWS.doRequest();
===
i'm seeing two different values in the HTTP request header Content-Type on the
server, depending on the version of the client:
swf8: application/x-www-form-urlencoded; charset=UTF-8
html5: application/x-www-form-urlencoded; charset=UTF-8
application/x-www-form-urlencoded
the html5 version of my app is appending "application/x-www-form-urlencoded" to
the Content-Type header.
this appears to be a bug, correct?
thanks,
augusto.
ps: i'm running openlaszlo 4.9 in proxied mode.