Forum OpenACS Development: Re: XML-RPC package ready

Collapse
2: Re: XML-RPC package ready (response to 1)
Posted by Ola Hansson on
I think the documentation is so good I'll actually be able to understand this here XML-RPC, and use it.

This is a great addition to 5.0 (or 5.1), thank you Vinod!

Do you know if it will work to serve requests from Jerry's nsvhr/nsunix virtual hosting?

Collapse
3: Re: XML-RPC package ready (response to 2)
Posted by Vinod Kurup on
Thanks Ola!

I think this should work fine with nsvhr/nsunix as long as the XML-RPC client that you use sends an appropriate Host: header. This was a problem with the client inside ns_xmlrpc, since it used util_httppost to POST requests and util_httppost doesn't send Host: headers. So, I rolled my own HTTP POST method (well, stole it from lars-blogger). I should probably fix util_httppost too...