Closed orionnelson closed 2 years ago
Came across the error headers = {k: v for k, v in headers.items() if is_legal_header_name(k)} TypeError: cannot use a bytes pattern on a string-like object
This pull request fixes this issue
I think the bug is not just for Tor, I introduced this bug myself. I'm fixing it using another method.
Actually I like your solution! Thank you a lot for your contribution!
Came across the error headers = {k: v for k, v in headers.items() if is_legal_header_name(k)} TypeError: cannot use a bytes pattern on a string-like object
This pull request fixes this issue