For now it may be save to ignore them. However in a future implementation the wildcard should match any language given by the 'available_languages' array in methods determinating a preferred or compatible language for the user.
…irectly Allows you to use the gem outside of environments where the middleware does not run, such as controller specs.
1. If header is malformed, pre-cache empty array instead of parsing it each time 2. Validate locale and type cast its quality during first map iteration to reduce number of operations 3. Split locales by string "," instead of using regex /,/ to increase performance
Middleware are not always applied when running specs.
…prevent silent failures