Open alufers opened 1 year ago
https://docs.python.org/3/library/urllib.parse.html
Parse a query string given as a string argument (data of type application/x-www-form-urlencoded). Data are returned as a list of name, value pairs.
This is the description I could find on the official docs. I get the same issue
Fixed it with #103
https://github.com/alufers/mitmproxy2swagger/commit/d04b127870fb711ce6b31a21a830a4f8aaa3842f#r113463641
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'? parse_qsl seems to return list of string pairs already.