Closed frak closed 5 years ago
Perhaps neater still would be the pattern:
base, ext = os.path.splitext(self.path) ... elif ext in self.type_map: .... self.send_header('Content-type', self.type_map[ext])
Perhaps neater still would be the pattern: