Commit f97f33d
committed
fix: improve multipart form handling in API client
- Updated the `prepareRequest` method to use `CreatePart` for file uploads, enhancing the handling of multipart form data.
- Set appropriate MIME headers for file uploads, including `Content-Disposition` and `Content-Type`, ensuring better compatibility with various file types.
These changes improve the robustness of file uploads in the API client, providing clearer specifications for the uploaded files.1 parent 4e2d719 commit f97f33d
1 file changed
+6
-1
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments