I am trying to understand how the Content-Transfer-Encoding works when sending a file with the multipart/form-data HTTP POST action.
We are sending files via an API that must conform to HIPAA standards- it must be encrypted.
We expected that setting the Content-Transfer-Encoding to base64, as seen in this capture, would do the trick.
However, this does not seem to be actually encoding the file contents, as can be seen by this snip from Wireshark showing the setting for base64, but plaintext is visible in the packet.
What can we do to set the file to actually be base64 encoded?