Add caching to conversion from strings to data as it is done twice in most cases,
and also do not check file length twice when uploading files. Pull out repeated
code. Move very tightly coupled code together (multipart-content-length and
write-multipart-content).
Add caching to conversion from strings to data as it is done twice in most cases, and also do not check file length twice when uploading files. Pull out repeated code. Move very tightly coupled code together (multipart-content-length and write-multipart-content).
See Issue #167