fukamachi / lack

Lack, the core of Clack
MIT License
148 stars 33 forks source link

accept header media type struct in lack.request object #61

Closed lispegistus closed 2 years ago

lispegistus commented 2 years ago

Added support for media type structs and parse accept header with them. Added a method to match media type string against the request object.

fukamachi commented 2 years ago

Great patch! (I don't get many patches with tests) Sorry for the delay, and thanks!