I got stuck trying to get a configuration file from my ISP.
Here is the code snippet:
useProxy="false" method="GET" result="readConfig();"
After getting Error 2032 I looked at the http header
information in my ISP log file:
..."POST /ria/config/config.xml HTTP/1.1" 405 334...
How does it happen? I explicitly indicated "GET", also GET is
the default method for HTTPService.
I think the problem is the contentType. Don't set it. The
contentType is for the
request, not the response. If you set it, the HTTPService
assumes you're trying to send the webserver something, so it
switches to a POST.