Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Replaces http.server with Tornado #1191
Ok. I guess it is almost the final version.
This code can be executed with Python 2.7, Python 3.4+ and (probably) PyPy.
Now it returns a little different HTTP status codes: 500 (used to be 403) if Content-Length header is not readable and 404 (used to be 200, why?) if someone uses not POST-request or incorrect URL. It may be easily changed if necessary.
Also, SSL-Certificate check is provided by
I didn't understand what to do with tests aimed at Telegram API 4.0 coverage. Should I comment them out?
Sorry for the delay.