def get_object_or_404(klass, *args, **kwargs):
    queryset = _get_queryset(klass)
    try:
        return queryset.get(*args, **kwargs)
    except queryset.model.DoesNotExist:
        raise Http404('No %s matches the given query.' % queryset.model._meta.object_name)
Requests a response from the server using POST.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/shortcuts/__init__.py/get_object_or_404--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/test/client.py/Client.post