Hi
I have just hit the issue described at uri module encodes uploaded file in 
base64 if using body_format: form-multipart 
<https://github.com/ansible/ansible/issues/73621#top>, where the uri module 
encodes the uploaded file with base64, regardless the mime type of the 
uploaded files.

I understand the need of encoding the file in base64 when uploading binary 
files, but with text based mime types eg. application/xml that seems to be 
an unnecessary step and can break web services call that do not expect such 
encoding.

Would it be possible to make this behavior configurable or maybe just apply 
it to binary mime types?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/37bb21d8-e745-404f-9fca-1a80622e1544n%40googlegroups.com.

Reply via email to