Cort3z Cort3z - 20 days ago 11
HTTP Question

Crystal-lang file/image upload http server

Is it possible to have a crystal based web server which handles file upload? I have been looking in the docs, and in many of the crystal web frameworks. I have not found any reference to a simple file upload feature anywhere.

Is this possible, or do I have to look elsewhere to handle my image-uploads?

Answer

There is no support for multipart/form-data (http://tools.ietf.org/html/rfc1867) in crystal right now. It is something that should arrive in the std IMO.

But right now, Serdar Dogruyol seems to have invested some of his time around that: