WSF_CORS_OPTIONS_FILTER should not inherit from WSF_URI_TEMPLATE_HANDLER

This commit is contained in:
Jocelyn Fiat
2013-03-19 17:09:18 +01:00
parent 3faa2ab815
commit b629bba5cc
2 changed files with 1 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ feature {NONE} -- Initialization
create l_methods create l_methods
l_methods.enable_options l_methods.enable_options
l_methods.enable_get l_methods.enable_get
router.handle_with_request_methods ("/user/{userid}", l_options_filter, l_methods) router.handle_with_request_methods ("/user/{userid}", create {WSF_URI_TEMPLATE_AGENT_HANDLER}.make (agent l_options_filter.execute), l_methods)
create l_routing_filter.make (router) create l_routing_filter.make (router)
l_routing_filter.set_execute_default_action (agent execute_default) l_routing_filter.set_execute_default_action (agent execute_default)
filter.set_next (l_routing_filter) filter.set_next (l_routing_filter)

View File

@@ -11,8 +11,6 @@ class
inherit inherit
WSF_FILTER WSF_FILTER
WSF_URI_TEMPLATE_HANDLER
create create
make make