extend router by returning response object, support for the HEAD request method and the ability to render an empty response