Example #1
0
 def __getitem__(self,key):
   return ArgumentSet.__getitem__(self,key)
Example #2
0
 def __setitem__(self,key,value):
   response = self.http_handler.response
   if not response.headers.has_key('Set-Cookie'):
     response.headers['Set-Cookie'] = ''  
   self.http_handler.response.headers['Set-Cookie']+='%s=%s; '%(key,value)
   ArgumentSet.__setitem__(self,key,value)
Example #3
0
 def load(self):
   for key,value in findall(r'(\w+)\=([^\;]+);?',self.raw_data):
     ArgumentSet.__setitem__(self,key,value)