Repository navigation
Conversation
AI-Tool: Claude Code (Opus 5)
There was a problem hiding this comment.
🟡 Changes recommended
The changelog moves an unrelated feature out of its previously recorded release.
1 open issue
What changed in this PR
Preserves multipart upload bytes when a file part omits Content-Type.
Changes:
- Treats filename-bearing parts as data, defaulting to
application/octet-stream. - Adds regression coverage for byte preservation.
- Updates form documentation and release notes.
| File | Description |
|---|---|
| core/lib/tests/multipart-no-content-type-issue-2934.rs | Tests byte preservation and binary fallback. |
| core/lib/src/fs/temp_file.rs | Documents fallback content type. |
| core/lib/src/form/parser.rs | Classifies filename-bearing parts as data. |
| core/lib/src/form/from_form.rs | Updates field classification documentation. |
| core/lib/src/form/field.rs | Documents data fields and binary fallback. |
| CHANGELOG.md | Records the multipart fix under Unreleased. |
Review effort: Balanced
Comment on lines
+8
to
+24
| ## Unreleased | ||
|
|
||
| ### Added | ||
|
|
||
| - Built-in WebSocket support behind rkt's optional `ws` feature, available as | ||
| `rkt::ws`. The `rkt_ws` crate remains a deprecated compatibility shim for one | ||
| full minor release cycle. | ||
|
|
||
| ### Fixed | ||
|
|
||
| - Multipart file parts sent without a `Content-Type` are no longer corrupted by | ||
| UTF-8 decoding. A part with a `filename` is now treated as data, defaulting to | ||
| `application/octet-stream`. | ||
|
|
||
| ## 1.2.0 - 2026-07-29 | ||
|
|
||
| ### Added |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.