Replies: 1 comment 1 reply
-
This is a problem with your data, not with the HTTP headers MUST be terminated by |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I really don't understand why this is so. All I want is raw HTML to parse on my own.
So I fixed it. The data was in self.text and the cryptic _parse_result() destroyed it.
Now its works exactly like "requests.get" in real Python.
https://github.com/timonoko/CYD/blob/main/urequests_noko.py
Update: I found the problem in "_parse_result". You cannot split('/r/n').
Beta Was this translation helpful? Give feedback.
All reactions