Add files via upload

This commit is contained in:
Akascape
2021-11-13 16:13:47 +05:30
committed by GitHub
parent 5508f57eba
commit 5be68f3a7f

View File

@@ -0,0 +1,6 @@
IFRAME_HEADER = b'\x00\x00\x01\xb0'
def is_iframe(frame):
"""Determine whether frame is an I frame."""
return frame[:4] == IFRAME_HEADER