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.