Skip to content

Conversation

@1000hz
Copy link
Contributor

@1000hz 1000hz commented Sep 4, 2025

This PR includes a missing option to treat non-file parts of multipart/form-data requests as JSON as expected by several API endpoints.

Affected SDK methods:

  • client.snippets.update()

  • client.workers.scripts.content.update()

  • client.workers.scripts.scriptAndVersionSettings.edit()

  • client.workersForPlatforms.dispatch.namespaces.scripts.content.update()

  • client.workersForPlatforms.dispatch.namespaces.scripts.settings.edit()

  • I understand that this repository is auto-generated and my pull request may not be merged

Additional context & links

Fixes #2648

Refs cloudflare/cloudflare-python#2674
Refs cloudflare/cloudflare-go#4187

Affected SDK methods:
- `client.snippets.update()`
- `client.workers.scripts.content.update()`
- `client.workers.scripts.scriptAndVersionSettings.edit()`
- `client.workersForPlatforms.dispatch.namespaces.scripts.content.update()`
- `client.workersForPlatforms.dispatch.namespaces.scripts.settings.edit()`
@musa-cf musa-cf merged commit c4e6695 into cloudflare:next Sep 4, 2025
3 of 5 checks passed
@1000hz 1000hz deleted the cina/fix-multipart-json branch September 15, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

scriptAndVersionSettings.edit Missing settings part in multipart upload

2 participants