HttpResponseException in routing layer.
Make var available.
Response factory refactor