Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-02-21 | Tests: switched to using f-strings. | Andrei Zeliankou | 1 | -11/+11 | |
Previously, it was necessary to support older versions of Python for compatibility. F-strings were released in Python 3.6. Python 3.5 was marked as unsupported by the end of 2020, so now it's possible to start using f-strings safely for better readability and performance. | |||||
2022-11-20 | Var: improved variable parsing with empty names. | Zhidao HONG | 1 | -0/+1 | |
Unit parsed the case of "$uri$$host" into unknown variables. This commit makes it invalid variable instead. | |||||
2022-11-15 | Tests: fixed assertion in test_variables_dynamic. | Andrei Zeliankou | 1 | -4/+7 | |
2022-10-13 | Tests: added tests for the $request_time variable. | Andrei Zeliankou | 1 | -0/+29 | |
2022-10-11 | Tests: reworked "test_variables.py". | Andrei Zeliankou | 1 | -194/+259 | |
Access log used for the variables testing instead of limited routing. Added missed test for $status variable. Some tests moved from "test_access_log.py" to "test_variables.py". | |||||
2022-07-20 | Tests: added tests for translating $dollar into a literal $. | Andrew Clayton | 1 | -0/+21 | |
If you need to specify a $ in a URI you can now use '$dollar' or '${dollar}'. Added some tests for the above to test_variables.py setting a Location string. | |||||
2022-07-19 | Tests: added tests for more HTTP variables. | Andrei Zeliankou | 1 | -0/+51 | |
2022-07-14 | Tests: added tests for dynamic variables. | Andrei Zeliankou | 1 | -0/+82 | |
2022-06-01 | Tests: improved test for $request_uri variable. | Andrei Zeliankou | 1 | -2/+2 | |
2022-05-31 | Tests: Added tests for $request_uri. | Alejandro Colomar | 1 | -0/+9 | |
2022-01-31 | Tests: removed TestApplicationTLS.get_server_certificate(). | Andrei Zeliankou | 1 | -8/+4 | |
distutils.version is replaced by packaging.version. Also minor style fixes. | |||||
2021-08-02 | Router: fixed segmentation fault. | Zhidao HONG | 1 | -0/+19 | |
In the case that routes or upstreams is empty and the pass option is a variable. If the resolved pass is routes or upstreams, a segment error occurred. | |||||
2021-04-05 | Tests: style. | Andrei Zeliankou | 1 | -10/+2 | |
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 1 | -2/+0 | |
2020-09-21 | Tests: added variable test with nonexistent upstream. | Andrei Zeliankou | 1 | -0/+23 | |
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 1 | -49/+40 | |
2020-08-31 | Tests: $host varaible test. | Andrei Zeliankou | 1 | -7/+24 | |
Also added few tests for $uri and minor style fixes. | |||||
2020-08-13 | Tests: added variables tests. | Andrei Zeliankou | 1 | -0/+94 | |