It would be nice to support the multipart/form-data content type, so one can send the files with the metadata to the server. It looks like that now one need to send the bytes with the fileI and then the metadata with some other method, or encode it all somehow in bytestring and send it with fileI.