Commit 248b129
committed
fix(http-client): replace Tempfile with StringIO for multipart uploads
- Replace Tempfile with StringIO in prepare_multipart_payload to eliminate filesystem dependencies
- Add enhanced StringIO compatibility methods for HTTParty multipart handling
- Update test expectations from Tempfile to StringIO
- Add defensive file closing in messages.rb
- Resolves issues with read-only containers and AWS Lambda environments
Fixes #5281 parent c35e81e commit 248b129
File tree
8 files changed
+885
-103
lines changed- examples/messages
- lib/nylas
- handler
- resources
- spec/nylas
- handler
- utils
8 files changed
+885
-103
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments