diff --git a/confluent/httpapi.py b/confluent/httpapi.py index c9e02381..ca590949 100644 --- a/confluent/httpapi.py +++ b/confluent/httpapi.py @@ -203,7 +203,7 @@ def resourcehandler(env, start_response): operation = opmap[env['REQUEST_METHOD']] resource = '.' + env['PATH_INFO'][env['PATH_INFO'].rindex('/'):] try: - hdlr = pluginapi.handle_path(env['PATH_INFO'], 'retrieve', cfgmgr) + hdlr = pluginapi.handle_path(env['PATH_INFO'], operation, cfgmgr) except exc.NotFoundException: start_response('404 Not found', headers) yield "404 - Request path not recognized"