def METHOD_NAME(self):
    u_example1 = '<?xml version=".0" encoding="utf-16-be"?><doc/>'
    u_example2 = '<?xml   version=".0" encoding="utf-16-be"?><doc/>'
    b_example1 = u_example1.encode('utf-16-be')
    b_example2 = u_example2.encode('utf-16-be')
    # w/out byte order mark
    self.check_content_type(b_example1, "text/xml", encoding='utf-16-be')
    self.check_content_type(b_example2, "text/xml", encoding='utf-16-be')
    # with byte order mark
    self.check_content_type(
        b"\xfe\xff" + b_example1, "text/xml", encoding='utf-16-be'
    )
    self.check_content_type(
        b"\xfe\xff" + b_example2, "text/xml", encoding='utf-16-be'
    )