code: def json_mime_type(self):
          
          mime_type = "application/json"
          if (self.api_version >= '1.1' and 'Accept' in request.headers):
              mime_type = do_conneg(request.headers['Accept'], [
                                    'application/ld+json']) or mime_type
          return mime_type
docs: Return the MIME type for a JSON response.
  
          For version 2.0+ the server must return json-ld MIME type if that
          format is requested. Implement for 1.1 also.
          http://iiif.io/api/image/2.1/#information-request