I encountered a problem with the wrong content type being passed in the HTTP headers. This was with an older version and the latest version downloaded today.
I had this in my code:
http_setOption('content-type':'application/json');
The debug log consistently showed:
Content-Type: text/xml
I was using the http_url_post_raw() procedure.
Just as a guess, I decided to try http_req() with its content-type parameter and remove the call to http_setOption(). This test worked fine.
So, does
http_setOption() not work with
http_url_post_raw() or did I do something else wrong?
By the way, with the 1.42 download from your website it says 1.43 in the debug log as the version
--
Brian J. Garland
Vermont Information Processing, Inc.