def mediatypes(self):
return [h for h, q in sorted(request.accept_mimetypes,<EOL>key=operator.itemgetter(<NUM_LIT:1>), reverse=True)]<EOL>
Returns a list of requested mediatypes sent in the Accept header