جواب «Is It HttpOnly?» چالش 2 از جلسهی 43
سؤال
برنامه یک خط Set-Cookie میگیرد. اگر در آن HttpOnly باشد چاپ کن script cannot read it، وگرنه script can read it.
راهنما
if "HttpOnly" in line:
یک جواب درست
line = input()
if "HttpOnly" in line:
print("script cannot read it")
else:
print("script can read it")
اول خودت امتحان کن؛ جوابهای دیگر هم قبول است. برگرد و خودت حلش کن