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

[Ruleset Engine] Review examples for request body fields #19118

Conversation

pedrosousa
Copy link
Contributor

@pedrosousa pedrosousa commented Jan 10, 2025

Summary

Reported via internal chat.
Also changes "Example:" to "Example usage:" to better distinguish these examples from example values.

Copy link

cloudflare-workers-and-pages bot commented Jan 10, 2025

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: ac190f9
Status: ✅  Deploy successful!
Preview URL: https://087b9ecb.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://pedro-2025-01-10-ruleset-eng.cloudflare-docs-7ou.pages.dev

View logs

@github-actions github-actions bot added size/s and removed size/xs labels Jan 10, 2025
@pedrosousa pedrosousa changed the title [Ruleset Engine] Add example to multipart.content_dispositions field [Ruleset Engine] Review examples for request body fields Jan 10, 2025
@@ -72,15 +72,14 @@ The return value may be truncated if [`http.request.body.truncated`](#httpreques
- **Whitespace:** preserved
- **Non-ASCII:** preserved

Example:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved below the example value.

@@ -203,7 +210,11 @@ List of `Content-Disposition` headers for each part in the multipart body.

Example value:

`[["form-data; name=\"username\"], ["form-data;name=\"picture\"]]`
`[["form-data; name=\"username\""], ["form-data; name=\"picture\""]]`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed example value (missing double quotes).

@github-actions github-actions bot added size/m and removed size/s labels Jan 10, 2025
@pedrosousa pedrosousa merged commit e35c58d into production Jan 10, 2025
12 checks passed
@pedrosousa pedrosousa deleted the pedro/2025-01-10-ruleset-engine-add-content-disposition-expression-example branch January 10, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants