示例#1
0
 def __delitem__(self, key):
     del self.headers[normalize_header(key)]
示例#2
0
 def __contains__(self, key):
     return normalize_header(key) in self.headers
示例#3
0
 def __setitem__(self, key, value):
     self.headers[normalize_header(key)] = value
示例#4
0
 def __getitem__(self, key):
     return self.headers.get(normalize_header(key), None)
示例#5
0
 def __delitem__(self, key):
     del self.headers[normalize_header(key)]
示例#6
0
 def __setitem__(self, key, value):
     self.headers[normalize_header(key)] = value
示例#7
0
 def __contains__(self, key):
     return normalize_header(key) in self.headers
示例#8
0
 def __getitem__(self, key):
     return self.headers.get(normalize_header(key), None)