CC-5039: Encoded forward slash causing lots of apache error logs

-fixed: data should have been sent as POST rather than GET
This commit is contained in:
Martin Konecny 2013-04-04 15:12:52 -04:00
parent 3c68a295b4
commit 301115c035
2 changed files with 6 additions and 2 deletions

View file

@ -364,8 +364,12 @@ class AirtimeApiClient(object):
def notify_liquidsoap_status(self, msg, stream_id, time):
logger = self.logger
try:
post_data = {"msg": msg}
post_data = {"msg_post": msg}
#encoded_msg is no longer used server_side!!
encoded_msg = urllib.quote('dummy')
self.services.update_liquidsoap_status.req(post_data,
msg=encoded_msg,
stream_id=stream_id,
boot_time=time).retry(5)
except Exception, e: