Benoit Chesneau
c16abf922e
fix example to work on python3
...
* fix longpoll example
* fix websocket example
* fix django example
* fix flask exampl
2018-09-04 12:18:05 +02:00
Berker Peksag
31b8e48a78
Silence prospector warnings
2017-02-07 09:05:43 +03:00
Collin Anderson
0d3045bb41
cleaned some code
2014-09-10 20:34:22 -04:00
benoitc
003c474fe2
handle bytes & native strings
...
This patch makes sure that we now handle correctly bytes and native
strings on python 3:
- In python 3, sockets are now taking and returning bytes.
- according to PEP3333, headers should be native strings and body in
bytes.
2012-10-24 13:51:35 +02:00
benoitc
53ce50bc7b
obvious syntax fixes preparing python3 support
2012-10-24 12:11:15 +02:00
Randall Leeds
f02b0d9cca
update longpoll examples
...
Add a longpoll example for tornado and terminate the lines we send with
a '\n'.
2011-11-07 17:14:37 -08:00
Travis Swicegood
2209c83c3e
fix minor typo in docs so it matches the code
2010-09-18 19:53:39 +02:00
benoitc
d07009a12f
we cant to challenge worker timeout here.
2010-08-12 13:13:21 +02:00
benoitc
49e57d36bb
remove useless examples
2010-03-17 01:06:17 +01:00