implemented http_response.rb