def _make_response(self, content, headers, status):
response = webapp2.get_request().response
response.status = status
for k, v in headers:
response.headers[k] = v
response.write(content)