Move the OPTIONS method registration into the existing route map. Also add support for empty paths in the map. Upstream-commit: dd53c457d75a49e6e140c6d71642b237f3ee9056 Component: engine