try the following
headers = {'Content-type': 'application/x-www-form-urlencoded'}2010/10/20 leone <[email protected]>: > Hi, > I use httplib2 to query an url of the running roket server in web2py. > This is my simple code: > > def POST(url, dictdata): > h = httplib2.Http() > resp, content = h.request("%s" % url, > 'POST', > body=urlencode(dictdata), > headers={'content-type':'text/plain'}, > ) > return resp, content > > The web2py function return the correct value in content var, > but I cannot retrieve posted dictdata values in request.vars, that is > empty. > Can someone help me? > Thanks, > leone

