Commit Graph

65 Commits (de828cbabfac7aacf92fc638d9448fdd19bf0d2a)

Author SHA1 Message Date
Sheng d54f5b547a Use options.delay instead of DELAY
4 years ago
Sheng fc30ead69e Refactoring
5 years ago
Sheng 049baad909 Try to detect the encoding set by the user
5 years ago
Sheng afcf8b52cc Validate the result of locale charmap
5 years ago
Sheng 0775c0c3ae Refactored handler.py
5 years ago
Sheng d197133c95 Support 2fa
5 years ago
Sheng bec5b605fb Updated tests
5 years ago
Sheng 2b8b978ca2 Added PrivateKey class
6 years ago
Sheng 9fbd5d325f Made tests compatible with tornado 4.5.3
6 years ago
Sheng b25fbd7b57 Changed exception error message
6 years ago
Sheng 824e6b9113 Refactored tests
6 years ago
Sheng 8922813142 Refactored tests
6 years ago
Sheng d389e32b85 Enhanced tests
6 years ago
Sheng a1c9378048 Support CORS
6 years ago
Sheng 713ae1e8f1 Support cross origin connect
6 years ago
Sheng 2653a3e35a Added function for limiting connections for every client(ip)
6 years ago
Sheng 699b37d7a1 Updated test_app.py
6 years ago
Sheng 32f303474e Updated test_app.py
6 years ago
Sheng 5d6f92e529 Move some config variables to handler.py
6 years ago
Sheng c2c81aaeae Use method initialize to deny forbidden acesss
6 years ago
Sheng 7e5a170383 Added head method IndexHandler
6 years ago
Sheng a68eff592f Added attribute custom_headers to MixinHandler
6 years ago
Sheng af60cd1cd5 Tested app with 403 and 404 requests
6 years ago
Sheng e94c846379 Added default handler NotFoundHandler
6 years ago
Sheng 499f3b6dcd Lowercase all option names
6 years ago
Sheng 12f4c0d0d2 Pass server settings for test
6 years ago
Sheng 656e2ff028 Tested default port
6 years ago
Sheng 0c9db2abaf Set default port 22 on server side
6 years ago
Sheng 33703f0ca3 Updated lookup_hostname
6 years ago
Sheng a576a41ea4 Lookup hostname before connection under reject policy
6 years ago
Sheng b3c33ff6bd Use form attribute novalidate for debug mode
6 years ago
Sheng 5f3641701e Increase buffer size for channel
6 years ago
Sheng f4351318ec Updated tests
6 years ago
Sheng fa717491cd Updated test_server_error
6 years ago
Sheng 6cfd981e80 Tested server error
6 years ago
Sheng 58feb5e76b Enable xsrf for testing
6 years ago
Sheng 80bdddc280 Added setting swallow_http_errors
6 years ago
Sheng e1fbc417fd Added test for bad authentication type
6 years ago
Sheng 1a3880ecee Raise InvalidException for empty required value
6 years ago
Sheng 5519a17016 Return 400 http error for invalid post requests
6 years ago
Sheng df26d0e677 Catch ValueError instead of Exception for post method
6 years ago
Sheng 48acf09f21 Move method get_value to MixinHandler
6 years ago
Sheng f3d9d297bb Updated tests
6 years ago
Sheng 757702127a Move all tests data into a separate directory
6 years ago
Sheng 4710d8c0e6 Added connect_with_options function
6 years ago
Sheng 2e34702988 Changed validation error messages
6 years ago
Sheng 3c139e05f8 Added KEY_MAX_SIZE to validate the private key
6 years ago
Sheng 37299468a9 Added is_valid_hostname to utils
6 years ago
Sheng f610020758 Changed quotes
6 years ago
Sheng bd803328fc Changed error message
6 years ago