I'm using http.client.HTTPConnection request result in Python. Result is like :
\u000aFull command = \/opt\/ericsson\/amos\/moshell\/mobatch \u000a Hello
I want to convert this into standart text for my next parsing operation
response = connection.getresponse()
html_response = response.read().decode('ascii')
What I'm expecting here as result is
Full command = /opt/ericsson/amos/moshell/mobatch
Hello
But its not even converts, I directly get the same thing. I already tried regular expression replacements but I dont want to struggle in all characters in ASCII 10 list.