Files
marqdo/tests/lib/net-cookie.mq.md
T
cflmyandCursor 687c168014 feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 19:33:58 +08:00

682 B

markup, title, import
markup title import
occlusion net cookie_parse
net
lib/net.mq.md

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=name), "name")) print text=value), "value")) print text=http_only), "http_only")) print text=secure), "secure")) print text=same_site), "same_site")) print text=max_age), "max_age"))