mirror of
https://github.com/xcat2/confluent.git
synced 2025-09-02 16:28:27 +00:00
Fix problem where operation lookup as for naught
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user