diff --git a/confluent_server/confluent/httpapi.py b/confluent_server/confluent/httpapi.py index 0b2abb4d..c47722d4 100644 --- a/confluent_server/confluent/httpapi.py +++ b/confluent_server/confluent/httpapi.py @@ -628,6 +628,8 @@ def wsock_handler(ws): def resourcehandler(env, start_response): + if env['PATH_INFO'].startswith('/confluent-api'): + env['PATH_INFO'] = env['PATH_INFO'].replace('/confluent-api', '') for hdr in env['headers_raw']: if hdr[0].lower().startswith('confluent'): hdrname = hdr[0].upper()