Commit Graph

32 Commits (6d62642c7f111ea7d0aea306831edcc16876f135)

Author SHA1 Message Date
Sheng 786b42da7e Re-raise InvalidValueError for PasswordRequiredException
6 years ago
Sheng c35f801235 Support custom origin configuration
6 years ago
Sheng 8a8d741230 Refactored method is_forbidden
6 years ago
Sheng 682ddbf65f Removed function for detecting whether the http(s) server is open to public
6 years ago
Sheng 5c8bd84b95 Added an option for configuring cross-origin websocket level
6 years ago
Sheng d0542e72c6 Fixed test_get_redirect_url
6 years ago
Sheng 8e4039a24a Support redirecting http to https
6 years ago
Sheng 40cf1095ff Use open_to_public to store the status of the http(s) server
6 years ago
Sheng 1f835f5a70 Refactored handler.py
6 years ago
Sheng 68468585ee Added a command line option xheaders
6 years ago
Sheng a8a444d7ed Always reset fbidhttp to False if not open to public
6 years ago
Sheng 5d6f92e529 Move some config variables to handler.py
6 years ago
Sheng c06bf5311a Added an option for blocking public non-https requests
6 years ago
Sheng 77b6fbfd85 Block requests not come from trusted_downstream and public non-https requests
6 years ago
Sheng bb9d193cae Fixed assertion in rasied exception context
6 years ago
Sheng f6d2776a20 Let tornado parse xheaders
6 years ago
Sheng b372fcbbb2 Pass None for empty password
6 years ago
Sheng 688ca78bb2 Use command "locale charmap" to detect encoding
6 years ago
Sheng 80bdddc280 Added setting swallow_http_errors
6 years ago
Sheng 5519a17016 Return 400 http error for invalid post requests
6 years ago
Sheng 757702127a Move all tests data into a separate directory
6 years ago
Sheng 2e34702988 Changed validation error messages
6 years ago
Sheng e85ae1692e Added to_bytes function to utils
6 years ago
Sheng f4197f0e4c Use base_dir as the project root directory
6 years ago
Sheng 469d86ac77 Auto detect system default encoding
7 years ago
Sheng ffb776ca6c Use absolute path for importing modules
7 years ago
Sheng 331eaa2ba7 Remove unused modules
7 years ago
Sheng d6e4339540 Updated test_handler.py
7 years ago
Sheng d1177bc2c5 Updated handler.py and test_hanlder.py
7 years ago
Sheng 50ab045c1f Use HTTPServerRequest instead
7 years ago
Sheng 42ac3daf87 Updated test_handler.py
7 years ago
Sheng acc3b47ec6 Added test_handler.py
7 years ago