Your code encode string into utf-8 bytes.
But when "endspace-a0" is sent, utf-8 encoding encode \xA0 into \xc2\xa0.
So, it will probably result in incorrect diagnosis
therefore, I suggest you that fix the below code into plain text because HTTP protocol sends a plain text.
Your code encode string into utf-8 bytes. But when "endspace-a0" is sent, utf-8 encoding encode \xA0 into \xc2\xa0. So, it will probably result in incorrect diagnosis
therefore, I suggest you that fix the below code into plain text because HTTP protocol sends a plain text.
https://github.com/defparam/smuggler/blob/7084d634976674150456d03d42c96cef3fdb3028/smuggler.py#L60
Suggestion: