devicehive/devicehive-python — pull request #3 by michbil (2014-07-06 09:00:45+00:00)
Title: websocket url parsing made. In original version, device always tries to ...

webSocketServerUrl url parsing made. In original version, python api always tries to connect

to websocket at http://websocketdomain/device, ignoring given path

For example:
{
"apiVersion": "1.2.0",
"serverTimestamp": "2014-07-06T07:25:01.820136",
"webSocketServerUrl": "ws://domain.com:8080/DeviceHiveJava/websocket"
}
api tries to connect to websocket at "ws://domain.com:8080/device" and not to "ws://domain.com:8080/DeviceHiveJava/websocket/device"

After fix it connects to http://websocketdomain/websocketpath/device correctly.