Skip to content

Conversation

@olsoneric
Copy link

Thanks for the great example.

With python3, for some reason the "path" argument to putChild() needs to be of type bytes, otherwise the browser couldn't make the ws connection.
( https://github.com/twisted/twisted/blob/7f63174798c4b0b1be879b2dca014f4054a58ad1/src/twisted/web/resource.py#L70 )
This change still worked when I tested it with python 2.7.6

Also, the pastebin version of the code is linked in the post and would need a similar change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant