Ticket #567: has_key_request.patch
File has_key_request.patch, 438 bytes (added by , 19 years ago) |
---|
-
httpwrappers.py
20 20 return d[key] 21 21 raise KeyError, "%s not found in either POST or GET" % key 22 22 23 def has_key(self, key): 24 return self.GET.has_key(key) or self.POST.has_key(key) 25 23 26 def get_full_path(self): 24 27 return '' 25 28