MCPcopy
hub / github.com/pyload/pyload / mapContentType

Method mapContentType

module/lib/feedparser.py:748–756  ·  view source on GitHub ↗
(self, contentType)

Source from the content-addressed store, hash-verified

746 return k
747
748 def mapContentType(self, contentType):
749 contentType = contentType.lower()
750 if contentType == 'text':
751 contentType = 'text/plain'
752 elif contentType == 'html':
753 contentType = 'text/html'
754 elif contentType == 'xhtml':
755 contentType = 'application/xhtml+xml'
756 return contentType
757
758 def trackNamespace(self, prefix, uri):
759 loweruri = uri.lower()

Callers 4

popMethod · 0.95
pushContentMethod · 0.95
_start_linkMethod · 0.95
_end_contentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected