twilio/flask-restful — pull request #297 by k-funk (2014-09-08 01:31:52+00:00)
Title: Update reqparse.py

The current behavior is that a user passes `?field=test`, and the application defines choices as `choices=('TEST', 'SOMETHING')` means that validation won't pass even if `case_insensitive=false`.

`case_insensitive=False` should be comparing values to case insensitive choices as well. Otherwise the choices HAVE to be in lowercase to match.