taoensso / tempura

Simple text localization library for Clojure/Script
https://www.taoensso.com/tempura
Eclipse Public License 1.0
260 stars 16 forks source link

make parse-http-accept-header function public #2

Closed yogthos closed 7 years ago

yogthos commented 7 years ago

It would be nice to be able to use parse-http-accept-header for writing custom middleware for Tempura.

ptaoussanis commented 7 years ago

Hey Dmitri, sure- PR welcome!

yogthos commented 7 years ago

Perfect

yogthos commented 7 years ago

Also, I like the commented version of the keys that are namespaced in the middleware. Since it'll be merged with other middleware, it avoids the chance of collision.

ptaoussanis commented 7 years ago

Also, I like the commented version of the keys that are namespaced in the middleware.

Thanks for the input, had been on the fence about that. Modified in RC4.

yogthos commented 7 years ago

👍