def request(): #encoded_xml = urllib.urlencode({\'XML\': read_xml()}) #encoded_xml = read_xml() headers = {\'Authorization\': AUTH_TOKEN,\\
Pass in the straight XML instead of a dictionary.