Prioritized `choose_media_type/2`, `choose_charset/2` and `choose_language/2`. #397

Closed
egobrain opened this Issue Feb 3, 2013 · 2 comments

2 participants

@egobrain

You already have this code, but as part of cowboy_rest.
I want to use it in none rest handler.
It's will be great if you move logic of prioritized choosing some where, where users can use it.

@essen
Nine Nines member

The problem is that they're inline, they don't return anything. I can't really move them without losing the optimization.

@essen
Nine Nines member

Closing, thanks!

@essen essen closed this May 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment