Closed yanickrochon closed 10 years ago
Seems to be working as designed. If you want priority to matter you need to specify multiple types in a single call. See the readme.
If the Accept header contains */*
it is saying it accepts anything. You need to pass all your types in at once in a singe array and see which type is accepts most.
I'm trying to use this in Koa.js and the results are indeterministic.
For example
there should be a strict mode, or something. How can the program determine accurately what response type to return?