- Add
Part.file_content_field
to support in-memory file content (thanks @restlessronin!)
- Fix issue overriding
Content-Disposition
header which would create multiple headers (thanks @awea!)
- Generate
Content-Length
length correctly, by using bytes, not graphemes - Fix generation
Content-Disposition
header for text parts - Allow use of
mime
2.x if available - Fix README example
- Stream files in binary mode, not line mode, which preserves line breaks and ensures that binary files are not corrupted on output (thanks @xadhoom)
- Initial release