better boolean support with http query args
Bug #1493982 reported by
Justin Wood
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WSME |
New
|
Undecided
|
Unassigned |
Bug Description
(from: https:/
In my use case I have an endpoint that takes url query params. This endpoint's param should accept boolean values (Null/None, 1, 0, True, False) and case insensitive at that...
While, the wsme framework will convert anything other than "" and None python types to true, such that "0" and "false" are both True as per the endpoint.
So to clarify, I'd like:
http://
http://
http://
http://
http://
To post a comment you must log in.
Sounds reasonable.
There may be somewhere some code depending on "0" or "false" to be True, so we need to be carefull but otherwise I am +1