This commit ensures that the proper request is passed in the Kotlin RouterFunction extension DSL. Closes gh-27086