submit with binary attachments

sabety
Posts: 76
Joined: Wed Dec 06, 2000 7:11 am

submit with binary attachments

Post by sabety »

On second thought, the one accepting shouldn't care should it? It is just getting what it thinks is a normal form submission, and if the encoding is done the same as an HTML form, it should not have any problem with the binary data, right?
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

submit with binary attachments

Post by Kai »

Yep, that's before Vortex could accept full binary data in POSTs as well (was added same time as support in <submit>). You could try to <strfmt "%U"> the PDF before passing it to <submit>, and using <readvars> to decode it on the other end. However, that's really going to bloat the data, as it's double-URL-encoded.
Post Reply