minor polishing
This commit is contained in:
@@ -213,7 +213,7 @@ feature {NONE} -- Implementation
|
|||||||
method_is_options: req.request_method.as_upper.same_string ({HTTP_REQUEST_METHODS}.method_options)
|
method_is_options: req.request_method.as_upper.same_string ({HTTP_REQUEST_METHODS}.method_options)
|
||||||
server_options_requested: req.request_uri.same_string ("*")
|
server_options_requested: req.request_uri.same_string ("*")
|
||||||
do
|
do
|
||||||
--| TODO - should first check if forbidden.
|
--| First check if forbidden.
|
||||||
--| (N.B. authentication requires an absoluteURI (RFC3617 page 3), and so cannot be used for OPTIONS *.
|
--| (N.B. authentication requires an absoluteURI (RFC3617 page 3), and so cannot be used for OPTIONS *.
|
||||||
--| Otherwise construct an Allow response automatically from the router.
|
--| Otherwise construct an Allow response automatically from the router.
|
||||||
if is_system_options_forbidden (req) then
|
if is_system_options_forbidden (req) then
|
||||||
|
|||||||
Reference in New Issue
Block a user