Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 68f9e12d30
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| return { bodyHeaders: undefined, body: Shims.ReadableStreamFrom(body as AsyncIterable<Uint8Array>) }; | ||
| } else if ( | ||
| typeof body === 'object' && | ||
| headers.values.get('content-type') === 'application/x-www-form-urlencoded' |
There was a problem hiding this comment.
Accept parameterized form content types
The new form-encoding branch only runs when content-type is exactly application/x-www-form-urlencoded, so requests using equivalent valid values like application/x-www-form-urlencoded; charset=utf-8 (or different media-type casing) still fall through to JSON encoding, producing a body/header mismatch. This means a common caller configuration still sends invalid payloads for form endpoints even after this fix.
Useful? React with 👍 / 👎.
…ests fix flaking ecosystem tests
68f9e12 to
65de6ae
Compare
65de6ae to
ad6a942
Compare
c9fae91 to
04e5f86
Compare
04e5f86 to
54236fe
Compare
1e4f687 to
e36a113
Compare
e36a113 to
cfec0f8
Compare
cfec0f8 to
72b8b45
Compare
Automated Release PR
6.22.1 (2026-02-21)
Full Changelog: v6.22.0...v6.22.1
Chores
Documentation
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions