Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error field name to multipart response #60

Merged
merged 7 commits into from
Apr 9, 2024

Conversation

omerzi
Copy link
Member

@omerzi omerzi commented Apr 8, 2024

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.
  • I labeled this pull request with one of the following: 'breaking change', 'new feature', 'bug', or 'ignore for release'

This pull request enhances error handling when writing files to a multipart/form-data stream. Once an error occurs, the streaming stops, and the error will be written into a new part with the field name "error".

@omerzi omerzi added the improvement Automatically generated release notes label Apr 8, 2024
@omerzi omerzi requested a review from sverdlov93 April 8, 2024 13:16
@omerzi omerzi merged commit e45c025 into dev Apr 9, 2024
11 of 12 checks passed
@omerzi omerzi deleted the add-errors-multipart-stream branch July 17, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Automatically generated release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants