also the @response.headers is not the http headers - that needs fixing.