Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Workers] Adds New Python Worker Examples #14462

Merged
merged 7 commits into from May 13, 2024
Merged

Conversation

megaconfidence
Copy link
Member

Adds new Python Worker examples for:

  • Cache using fetch
  • Conditional response
  • Cookie parsing

Copy link

cloudflare-pages bot commented May 8, 2024

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7fe5e2f
Status: ✅  Deploy successful!
Preview URL: https://94347fa2.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://docs-py-examples1.cloudflare-docs-7ou.pages.dev

View logs

Copy link
Contributor

@kodster28 kodster28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General formatting + imports / usage looks generally correct to me.

cc: @hoodmane / @KianNH, you see anything to call out here?

Copy link
Contributor

@hoodmane hoodmane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @megaconfidence! I have some minor nitpicks as usual.

content/workers/examples/cache-using-fetch.md Outdated Show resolved Hide resolved
content/workers/examples/cache-using-fetch.md Outdated Show resolved Hide resolved
content/workers/examples/extract-cookie-value.md Outdated Show resolved Hide resolved
megaconfidence and others added 4 commits May 13, 2024 13:23
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
@megaconfidence megaconfidence merged commit 13b873f into production May 13, 2024
7 checks passed
@megaconfidence megaconfidence deleted the docs/py-examples1 branch May 13, 2024 13:22
OKEAMAH pushed a commit to OKEAMAH/cloudflare-docs that referenced this pull request May 14, 2024
* [Workers] Adds python example for cache-post request

* [Workers] Adds python example for conditinal response

* [Workers] Adds python example for extract cookie

* Update content/workers/examples/cache-using-fetch.md

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>

* Update content/workers/examples/extract-cookie-value.md

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>

* Update content/workers/examples/extract-cookie-value.md

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>

* [Workers] Fixes python example for cache using fetch

---------

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
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/m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants