Fix broken serialization of binary http uploads #241
This commit fixes a bug which can corrupt the entity body of binary http uploads.
Previously, binary content was treated as text with a particular character encoding, but in fact a base64-encoded
I discovered this while trying to upload a PDF file, which was read from a file: URI successfully using
I tested this using curl, a web service that accepts PUT, and a logging TCP tunnel; by comparing the HTTP request made by curl with the request made by my pipeline I was able to identify the underlying problem in the