Closed Deraen closed 7 years ago
Fixes #66
preferred-encoder shouldn't use (:content-type req) (deprecated Ring request property) if Accept header is not present.
preferred-encoder
(:content-type req)
But parse-accept-header shouldn't throw exceptions if invalid value is found.
parse-accept-header
This change adds new tests which previously didn't work and reworks parse-accept-header.
Fixes #66
preferred-encoder
shouldn't use(:content-type req)
(deprecated Ring request property) if Accept header is not present.But
parse-accept-header
shouldn't throw exceptions if invalid value is found.This change adds new tests which previously didn't work and reworks
parse-accept-header
.