def get_response(action, next):
    """Returns a fairly standard Twilio response template."""
    response = """<?xml version="1.0" encoding="UTF-8"?>
                  <Response>
                      {action}<Redirect method="GET">{next}</Redirect>
                  </Response>"""
    return response.format(action=action, next=next)