devnieL
5/24/2015 - 10:02 PM

gistfile1.py

def index(request):
	verb = str(request.GET.get('verb'))
	metadataPrefix = str(request.GET.get('metadataPrefix'))
	set = str(request.GET.get('set'))
	print inspect.getmembers(clouai, predicate=inspect.ismethod)
	print clouai.__dict__
	print dir(clouai)
	pprint(clouai)
	resp = clouai.handleRequest(request.GET)
	response = HttpResponse(resp, content_type="text/xml")
	return response