HttpHandler.uri works with ref