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

Generic Multipart reader/writer implementaion #53

Merged
merged 19 commits into from
Mar 11, 2024
Prev Previous commit
Next Next commit
update deps
  • Loading branch information
sverdlov93 committed Mar 7, 2024
commit 2ef07249ea3c72887d71d36c110d0b506bb28e44
4 changes: 2 additions & 2 deletions http/multipart/multipart_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ func TestReadFilesFromStream(t *testing.T) {
file2 := path.Join(sourceDir, "test2.txt")
file1Content := []byte("test content1")
file2Content := []byte("test content2")
assert.NoError(t, os.WriteFile(file1, file1Content, 0644))
assert.NoError(t, os.WriteFile(file2, file2Content, 0644))
assert.NoError(t, os.WriteFile(file1, file1Content, 0600))
assert.NoError(t, os.WriteFile(file2, file2Content, 0600))

// Create the multipart writer that will stream our files
body := &bytes.Buffer{}
Expand Down
Loading