khrt / Raisin

Raisin - a REST API micro framework for Perl 🐫 🐪
62 stars 31 forks source link

accurate parsing of accept header #11

Closed vlet closed 9 years ago

vlet commented 9 years ago

By default jquery send this accept header: application/json, text/javascript, */*; q=0.01

Raisin return "Invalid accept header" error, because it expects only one media type

vlet commented 9 years ago

https://github.com/vlet/Raisin/commit/e55f59a7035e2716fcc9fc6b0cf3a68006b2b938

khrt commented 9 years ago

Please put this changes into a different branch and send a pull request. Thanks.

khrt commented 9 years ago

merged into rfc7231-accept-header