Crystal: HTTP::Request multipart/form-data handling

Created on 2 Jan 2016  路  4Comments  路  Source: crystal-lang/crystal

Currently we don't handle multipart forms and need to implement this for dealing with file uploads.

I'll try to do this according to Rack implementation https://github.com/rack/rack/tree/028438ffffd95ce1f6197d38c04fa5ea6a034a85/lib/rack/multipart

What do you think?

feature stdlib

Most helpful comment

I would tend to disagree, if the standard library has room for websockets, it surely has room for multipart/form-data, which is arguably more fundamental to the web.

All 4 comments

I checked a lot of implementations and i think that this should be handled outside of std. I'm going to create a shard soon.

I would tend to disagree, if the standard library has room for websockets, it surely has room for multipart/form-data, which is arguably more fundamental to the web.

Will be fixed by #2967, once complete.

This is living in a shard (https://github.com/RX14/multipart.cr) now thanks to @RX14 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asterite picture asterite  路  3Comments

oprypin picture oprypin  路  3Comments

lbguilherme picture lbguilherme  路  3Comments

asterite picture asterite  路  3Comments

lgphp picture lgphp  路  3Comments