Files
marqdo/tests/lib/net-cookie.mq.md
T
cflmyandCursor b5c07385e9 feat(markup): finish v0.3 stock migration and green gold
Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:43:44 +08:00

458 B


main

req = > net.cookie_parse text="session=abc123; theme=dark"

resp = > net.cookie_parse text="id=42; Path=/; HttpOnly; Secure; SameSite=Lax, theme=light; Max-Age=3600" is_response=True

print text=req[^1][^name] print text=req[^1][^value] print text=resp[^1][^http_only] print text=resp[^1][^secure] print text=resp[^1][^same_site] print text=resp[^2][^max_age]