Add files via upload

This commit is contained in:
Akascape
2021-11-13 16:02:57 +05:30
committed by GitHub
parent c4c4e63185
commit 485b404cc7

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