Searched refs:extensions_map (Results 1 – 10 of 10) sorted by relevance
210 if ext in self.extensions_map:211 return self.extensions_map[ext]213 if ext in self.extensions_map:214 return self.extensions_map[ext]216 return self.extensions_map['']220 extensions_map = mimetypes.types_map.copy() variable in SimpleHTTPRequestHandler221 extensions_map.update({
14 Handler.extensions_map['.js'] = 'application/javascript'16 Handler.extensions_map['.wasm'] = 'application/wasm'
862 if ext in self.extensions_map:863 return self.extensions_map[ext]865 if ext in self.extensions_map:866 return self.extensions_map[ext]868 return self.extensions_map['']872 extensions_map = mimetypes.types_map.copy() variable in SimpleHTTPRequestHandler873 extensions_map.update({
41 .. attribute:: extensions_map74 uses the *extensions_map* variable.
41 SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map.update({
335 .. attribute:: extensions_map372 uses the *extensions_map* variable, and the file contents are returned.