alertedsnake/pyramid — comment on commit 1f3780386d6406e867203c5697e9c90c2ab67ad3
File:  line 0
By mcdonc:

My concern here would be with browser agents which accept both text/html and application/json.. I think something needs to be done to choose the mimetype with the highest accept quality here. WebOb has such logic in it (e.g. request.accept.best_match). It would be better to use this feature than to ignore the quality matching information provided in the Accept header.