def negotiate_response_content(self, allowed_response_formats):
response_format = find_response_format(allowed_response_formats)
if response_format is None:
raise NotAcceptable()
return response_format
文章目录