Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (18 sloc) 583 Bytes
import sys
import os
import httplib2
import base64
h= httplib2.Http(".cache")
base64string = base64.encodestring('%s:%s' % ("", "Password"))
resp, content = h.request("", "POST", body="<entry>\
<title>Feedback: reminder</title>\
headers={'content-type' : 'application/xml' , 'Authorization': 'Basic %s' % base64string, } )
print content
print resp
print resp['location']
Something went wrong with that request. Please try again.