fixed fatal bug in client/upstream.py:puship, requesting with not format...

fixed fatal bug in client/upstream.py:puship, requesting with not formated json and not valid url.