Dos anyone have and example how to implement the different render
function in web. Im trying to implement a REST service and I now have
to use the render_POST.
My render_POST function looks like this:
def render_POST(self,request):
print request.received_headers
print request.content.readlines()
print request
return "<html></html>"
but the only output i see is:
{'content-length': '134', 'content-type': 'application/x-www-form-
urlencoded', 'host': 'sbcmac.local:8081', 'user-agent': 'Python-
urllib/1.16'}
[]