async def handle_airplay_pair_verify(self, request):
content = await request.content.read()<EOL>hexlified = binascii.hexlify(content)<EOL>if hexlified == _DEVICE_VERIFY_STEP1:<EOL><INDENT>return web.Response(<EOL>body=binascii.unhexlify(_DEVICE_VERIFY_STEP1_RESP), status=<NUM_LIT:200>)<EOL><DEDENT>elif hexlified == _DEVICE_VERIFY_STEP2:<EOL><INDENT>self.has_authenticated = True<EOL>return web.Response(body=_DEVICE_VERIFY_STEP2_RESP, status=<NUM_LIT:200>)<EOL><DEDENT>return web.Response(body=b'<STR_LIT>', status=<NUM_LIT>)<EOL>
Handle verification of AirPlay device authentication.