2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00

Merge branch 'master' into osdeploy

This commit is contained in:
Jarrod Johnson 2020-04-16 12:10:03 -04:00
commit dcdc8e4d5a

View File

@ -417,7 +417,7 @@ def resourcehandler_backend(env, start_response):
reqtype = env['CONTENT_TYPE']
operation = opmap[env['REQUEST_METHOD']]
querydict = _get_query_dict(env, reqbody, reqtype)
if 'restexplorerop' in querydict:
if operation != 'retrieve' and 'restexplorerop' in querydict:
operation = querydict['restexplorerop']
del querydict['restexplorerop']
if env.get('PATH_INFO', '').startswith('/self/'):