> How to transform from the php http v1 the property "Content-Type" with it's value into a vfp's object ?
> oXMLHTTP=CREATEOBJECT("Msxml2.XMLHTTP.6.0")
> Must be used oXMLHTTP.setRequestHeader("Content-Type",'multipart/form-data; boundary=---011000010111000001101001') or other method?
>
> $request->setHeaders(array(
> 'content-type' => 'multipart/form-data; boundary=---011000010111000001101001'
> ));
.setRequestHeader() sets one header entry at the time, so it is equivalent to the PHP .setHeaders() you mention if the array passed as argument has only one row (assuming there is no overloading).
For your reference, you should check for the Microsoft's documentation, starting here:
https://msdn.microsoft.com/en-us/library/ms764730(v=vs.85).aspx