Forum OpenACS Development: Re: XML-RPC HTTP 302

Collapse
3: Re: XML-RPC HTTP 302 (response to 2)
Posted by Gustaf Neumann on
Iuri: "Why does xml-rpc always answer with 302 at first?"

Probably, the xml-rpc package is mounted at your instance at __LOCATION__/RPC2/. As always in OpenACS, if one navigates to a mounted package via e.g. __LOCATION__/RPC (without trailing slash), one is redirected to __LOCATION__/RPC/ (with trailing slash).

In your case, when you change the URL in the RPC requester to http://www.evex.co/RPC2/ i would expect that the 302 redirect will disappear.

Hope this helps
-gn

Collapse
4: Re: XML-RPC HTTP 302 (response to 3)
Posted by Iuri Sampaio on
Thanks Gustaf! It works now.

I need to pay more attention. Perhaps I need to rest a little bit.
It was bearing me to madness since it was working in the browser ( with auto redirection) but my python script was breaking ( which doesn't have auto redirection and attempts only once) .

Trailing slash... Arrrrg! 😊

Best wishes,