303 http error

Forum rules

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo

Posted on
Sun Aug 19, 2012 2:17 pm
bigedison offline
Posts: 14
Joined: Apr 11, 2010

303 http error

Hi folks,
I configured my eedomus box (Z-wave box) to enable or disable itunes using indigo plugin, for this I created many action groups, but when I want to execute one of them using the http api for exemple : http://192.168.0.11:8176/actions/Pause_ ... od=execute , the request works but the box receive a 303 http error due to the redirection to http://192.168.0.11:8176/actions/Pause_iTunes at the end of the request.
Is there a way to avoid this error ?

Thanks for your help
Regards

Posted on
Mon Aug 20, 2012 10:01 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: 303 http error

Can the eedomus box not just ignore the 303? That isn't an error, just the Indigo Web Server doing returning an HTTP redirect status response. You can hack it out if you need to for the eedomus. You can see where the redirect comes from by searching on "303" in this file:

Code: Select all
/Library/Application Support/Perceptive Automation/Indigo 5/IndigoWebServer/indigopy/actionsreqhandler.py

Note future Indigo installers may overwrite your changes, so you may have to reapply them after running future installs.

Image

Posted on
Mon Aug 20, 2012 11:38 am
bigedison offline
Posts: 14
Joined: Apr 11, 2010

Re: 303 http error

Thanks matt for your answer, for them 303 is an error so it does retries every 30 secondes :-(
I'll have a look in the code

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest