mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-16 18:49:04 +00:00
Fix problem where operation lookup as for naught
This commit is contained in:
parent
4ee20bafc7
commit
9765d2c2bb
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user