def get_decoder(content_type):
if content_type.endswith('<STR_LIT>'):  <EOL><INDENT>content_type = '<STR_LIT:application/json>'<EOL><DEDENT>if content_type in DECODERS:<EOL><INDENT>return DECODERS[content_type]<EOL><DEDENT>return None<EOL>
Get a decoder function for the content type given, or None if there is none.

:param content_type: Content type string
:type content_type: str
:return: function or None