diff --git a/jarvis/utils/server_utils.py b/jarvis/utils/server_utils.py index 1ea3a8e..988c391 100644 --- a/jarvis/utils/server_utils.py +++ b/jarvis/utils/server_utils.py @@ -15,6 +15,8 @@ def send_record_to_server(raw_audio_data): headers = CaseInsensitiveDict() headers["Content-Type"] = "text/xml; charset=utf8" + headers['Client-Ip'] = socket.gethostname() + headers['Client-Port'] = str(config_utils.get_in_config('PORT')) # headers["Authorization"] = config_utils.get_in_config("API_KEY") response = requests.post(url_service,