Skip to content

Fix mismatched parseCookie function for extract-cookie-value example - #32349

Open
JerrySMith13 wants to merge 1 commit into
cloudflare:productionfrom
JerrySMith13:patch-1
Open

Fix mismatched parseCookie function for extract-cookie-value example#32349
JerrySMith13 wants to merge 1 commit into
cloudflare:productionfrom
JerrySMith13:patch-1

Conversation

@JerrySMith13

Copy link
Copy Markdown

Summary

In the example for extracting cookies in Workers, there was incorrect code in the Javascript and Typescript examples, where
a function called "parse", instead of cookie.parseCookie() was used. I fixed both examples, adding ~16 characters total

@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Review

✅ No issues found in commit 23b7592.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

No code review issues found.

Conventions

No convention issues found.

Style Guide Review

No style-guide issues found.

Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants