tenderlove / the_metal

A spike for thoughts about Rack 2.0
518 stars 27 forks source link

Media type parsers should be separate gems #7

Closed jamiehodge closed 2 years ago

jamiehodge commented 9 years ago

Rack has, for example, its own multipart parser. Wouldn't it be better if such classes remained external to and reusable outside of "the metal"?

One issue with rack was that the mime types that triggered the form parser were hardcoded. These decisions should be app-specific (with reasonable defaults).