Skip to content

Instantly share code, notes, and snippets.

@devniel
Created May 24, 2015 22:02
Show Gist options
  • Select an option

  • Save devniel/64fc17977a4c1bf38a27 to your computer and use it in GitHub Desktop.

Select an option

Save devniel/64fc17977a4c1bf38a27 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment