Hi, I'm starting to use Cornice, Colander and Swagger and I'm trying to create a REST service which should allow users to upload file(s)...
Until now I'm using "multipart/form-data" encoding and it seems OK, but : - is it actually a good practice to handle file uploads in a REST API using this encoding? Should I prefer something like JSON with base64 string encoding (including for use cases with large data files)?? - how should I handle schema verification with Colander for file upload fields (what I actually receive using form-data encoding is a CGI FieldStorage object) ? Best regards for any advise, Thierry -- https://www.ulthar.net -- http://pyams.readthedocs.io -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAPX_VWBv8Ufg-ezeHPqeRXjwuF2f-8iSE8VRy7k3_n9iRp-LqA%40mail.gmail.com.