Commit Graph

31 Commits (a1c9378048088cde18839a7419bb2a37f58d31f2)

Author SHA1 Message Date
Sheng c35f801235 Support custom origin configuration 2019-01-19 16:46:25 +08:00
Sheng 8a8d741230 Refactored method is_forbidden 2019-01-16 22:58:49 +08:00
Sheng 682ddbf65f Removed function for detecting whether the http(s) server is open to public 2019-01-15 23:02:14 +08:00
Sheng 5c8bd84b95 Added an option for configuring cross-origin websocket level 2019-01-10 22:09:32 +08:00
Sheng d0542e72c6 Fixed test_get_redirect_url 2018-10-21 14:45:58 +08:00
Sheng 8e4039a24a Support redirecting http to https 2018-10-21 14:07:44 +08:00
Sheng 40cf1095ff Use open_to_public to store the status of the http(s) server 2018-10-20 17:54:12 +08:00
Sheng 1f835f5a70 Refactored handler.py 2018-10-19 18:18:55 +08:00
Sheng 68468585ee Added a command line option xheaders 2018-10-18 20:25:30 +08:00
Sheng a8a444d7ed Always reset fbidhttp to False if not open to public 2018-10-18 18:17:42 +08:00
Sheng 5d6f92e529 Move some config variables to handler.py 2018-10-18 15:07:45 +08:00
Sheng c06bf5311a Added an option for blocking public non-https requests 2018-10-17 22:39:53 +08:00
Sheng 77b6fbfd85 Block requests not come from trusted_downstream and public non-https requests 2018-10-15 20:14:53 +08:00
Sheng bb9d193cae Fixed assertion in rasied exception context 2018-10-14 16:46:47 +08:00
Sheng f6d2776a20 Let tornado parse xheaders 2018-10-10 10:51:40 +08:00
Sheng b372fcbbb2 Pass None for empty password 2018-09-12 13:07:05 +08:00
Sheng 688ca78bb2 Use command "locale charmap" to detect encoding 2018-08-28 07:55:41 +08:00
Sheng 80bdddc280 Added setting swallow_http_errors 2018-08-28 07:43:43 +08:00
Sheng 5519a17016 Return 400 http error for invalid post requests 2018-08-26 15:13:02 +08:00
Sheng 757702127a Move all tests data into a separate directory 2018-08-24 15:11:21 +08:00
Sheng 2e34702988 Changed validation error messages 2018-08-22 17:37:23 +08:00
Sheng e85ae1692e Added to_bytes function to utils 2018-08-20 18:36:04 +08:00
Sheng f4197f0e4c Use base_dir as the project root directory 2018-08-18 17:39:50 +08:00
Sheng 469d86ac77 Auto detect system default encoding 2018-05-30 21:29:44 +08:00
Sheng ffb776ca6c Use absolute path for importing modules 2018-04-26 22:38:16 +08:00
Sheng 331eaa2ba7 Remove unused modules 2018-04-25 21:08:02 +08:00
Sheng d6e4339540 Updated test_handler.py 2018-04-25 21:05:01 +08:00
Sheng d1177bc2c5 Updated handler.py and test_hanlder.py 2018-04-25 19:01:54 +08:00
Sheng 50ab045c1f Use HTTPServerRequest instead 2018-04-24 10:57:25 +08:00
Sheng 42ac3daf87 Updated test_handler.py 2018-04-24 10:23:45 +08:00
Sheng acc3b47ec6 Added test_handler.py 2018-04-24 09:59:51 +08:00