Changed comment on execute to check assertion
This commit is contained in:
@@ -457,10 +457,9 @@ feature -- Execution
|
|||||||
-- <Precursor>
|
-- <Precursor>
|
||||||
do
|
do
|
||||||
check
|
check
|
||||||
known_method: True -- Can't be done until WSF_METHOD_NOT_ALLOWED_RESPONSE
|
known_method: router.allowed_methods_for_request (req).has (req.request_method)
|
||||||
-- is refactored.
|
not_trace: not req.is_request_method ({HTTP_REQUEST_METHODS}.method_trace)
|
||||||
-- Then maybe this can become a precondition. But we will still (?)
|
not_connect: not req.is_request_method ({HTTP_REQUEST_METHODS}.method_connect)
|
||||||
-- need a check that it isn't CONNECT or TRACE (it MIGHT be HEAD).
|
|
||||||
end
|
end
|
||||||
if req.is_request_method ({HTTP_REQUEST_METHODS}.method_options) then
|
if req.is_request_method ({HTTP_REQUEST_METHODS}.method_options) then
|
||||||
execute_options (req, res, router)
|
execute_options (req, res, router)
|
||||||
|
|||||||
Reference in New Issue
Block a user