allow a Request's delegate to be the result of a function call