Commit b26eeb38 authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Vincent Pelletier

wsgi: "method" is a required key of any "path_entry".

parent 09d9d7e5
......@@ -254,10 +254,7 @@ class Application(object):
except KeyError:
break
del path_item_list[0]
try:
method_dict = path_entry_dict['method']
except KeyError:
raise NotFound
method_dict = path_entry_dict['method']
request_method = environ['REQUEST_METHOD']
try:
action_dict = method_dict[request_method]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment