How to detect WebOb NoVars case

5 views
Skip to first unread message

Zsolt Ero

unread,
May 5, 2019, 11:33:26 AM5/5/19
to pylons-discuss
There is a bug in WTForms 2.2+ which related to how WebOb handle request.POST in GET requests. 
https://github.com/wtforms/wtforms/issues/460

We are trying to find a WebOb specific solution with the maintainer, to handle the NoVars case. I just wanted to ask, what approach would you recommend for detecting this case, without importing WebOb? 

My idea would be to use type(...).__name__ == 'NoVars'. Is this a good solution?


Reply all
Reply to author
Forward
0 new messages