Hi,
I'm trying to detect if a request is a POST or a GET. This is what I'm
doing:
if request.POST:
# do stuff
However, this only works if there are some variables in the POST. The
request I'm doing is empty (it's an ajax "delete" request). Is there a
way to check if the request was a POST, even if no actual parameters
are posted with it? Is this a Django bug?
Kind regards,
Frederik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---