Skip to content

Commit f97f33d

Browse files
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

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

qase-api-client/client.go

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)