erikdubbelboer / fasthttp

This fork has been deprecated!
MIT License
50 stars 12 forks source link

handle 't' and 'true' as bool in QueryArgs #46

Closed zwirec closed 6 years ago

zwirec commented 6 years ago

Hello! Some people wants "t" and "true" and their uppercase analogs (T and TRUE) to be processed as bool value true P.S. May be unexpected that, for example, GET http://example.com?a=true a will be false

erikdubbelboer commented 6 years ago

Can you also fix the documentation of the function please.

erikdubbelboer commented 6 years ago

I know this might cause backwards compatibility issues but it's highly unlikely. Its more likely that other people would want/expect this function to handle those values as well.

Thanks.