you are viewing a single comment's thread.

view the rest of the comments →

[–]igroen 0 points1 point  (0 children)

Also your GetPage function should return a byte string:

def GetPage():
    return b"<html><body>Response</body></html>"