Commit Graph

299 Commits

Author SHA1 Message Date
Michael Lazar cc4901241f
Make the application ``Request`` class overridable. (#61) 2021-05-11 20:39:49 -04:00
Michael Lazar e6fa299d1e
Fix not including trailing slashes in $PATH_INFO for CGI scripts. (#60)
* Fix not including trailing slashes in $PATH_INFO for CGI scripts.

* Fix type hint
2021-05-11 20:17:18 -04:00
Michael Lazar 7fd453e43c
Send the full CA certificate chain if its included in the TLS certificate. (#59) 2021-05-04 19:54:07 -04:00
Michael Lazar 3d255a7e0b Remove python 3.10 alpha build because it was failing 2021-03-29 13:46:43 -04:00
Michael Lazar 774fe54236 Pin twisted version to fix the build 2021-03-29 13:43:16 -04:00
Michael Lazar 14d157f0d7 Upping version 2021-03-21 22:37:25 -04:00
Michael Lazar 6d4fe62cc6
Update README.md 2021-02-19 00:00:33 -05:00
Michael Lazar 194f84a042
Update README.md 2021-02-18 23:57:36 -05:00
Michael Lazar 2765eabd9b
Update README.md 2021-02-18 23:47:36 -05:00
Michael Lazar 0946df453a Fix type error 2021-02-11 21:35:47 -05:00
dbxnr dea16e6596
Remove trailing bracket from directory name (#53) 2021-02-11 21:32:32 -05:00
Michael Lazar 6bda66b75f
Update README.md 2021-01-07 23:59:34 -05:00
Michael Lazar f9726f9fa9
Update README.md 2021-01-07 23:58:53 -05:00
Michael Lazar 6bf0dd83fe
Update README.md 2021-01-07 23:53:47 -05:00
Michael Lazar cd57adec3e
Adding tests (#52)
* Adding tests

* fix python matrix strings
2021-01-07 23:41:56 -05:00
Michael Lazar 17c9444b80 Fix python3.7 syntax error 2021-01-06 00:23:06 -05:00
Michael Lazar d75740cc3c Upping version 2021-01-05 23:59:48 -05:00
Michael Lazar bfa68c62de
Networking & CGI optimizations (#50)
More efficient TCP packets, miscellaneous fixes to CGI handling.
2021-01-05 23:56:41 -05:00
Michael Lazar 135dbda878
Type hints (#49)
* Better type hint coverage

* linting fixes

* Keep the old ResponseType name for backwards compatibility

* Remove unnecessary assert statement

Co-authored-by: Michael Lazar <mlazar@doctorondemand.com>
2020-12-29 00:03:07 -05:00
Michael Lazar 637025c8c3 Fix TLS_CLIENT_AUTHORISED sometimes returning False instead of 0 2020-12-24 13:54:39 -05:00
Michael Lazar 557bd96650 Add py.typed file for PEP 561 2020-12-23 22:43:48 -05:00
Michael Lazar 8ad184519b Add support for idn 2020-12-10 11:32:34 -05:00
Michael Lazar d516c8ba48 Upping version 2020-12-06 00:29:16 -05:00
Michael Lazar 8d384b424d Update TLS_CLIENT_HASH format 2020-11-30 00:09:46 -05:00
Michael Lazar 4ba3cc6c23 Allow "gemini://example.com" to resolve without a trailing slash 2020-11-29 22:30:47 -05:00
Michael Lazar 887343de3c Merge branch 'master' of github.com:michael-lazar/jetforce 2020-11-29 17:50:50 -05:00
Michael Lazar 5e0415888a Requests containing URLs without a scheme are no longer accepted. 2020-11-29 17:50:39 -05:00
Michael Lazar d2d1f63f7b
Merge pull request #43 from dbandstra/fix-gateway_interface
fix value of GATEWAY_INTERFACE as per rfc3875
2020-11-07 18:42:03 -05:00
dbandstra c61c070081 fix value of GATEWAY_INTERFACE as per rfc3875 2020-11-07 15:27:38 -08:00
Michael Lazar 1c0508d127 Bumping version 2020-07-30 21:24:07 -04:00
Michael Lazar 7701acd995
Merge pull request #40 from michael-lazar/rate_limiting
Rate limiting proof of concept
2020-07-27 00:09:49 -04:00
Michael Lazar dd6fcb4456 Clean up wording 2020-07-27 00:09:00 -04:00
Michael Lazar 1e5be2b45a Restructure rate limiting 2020-07-27 00:02:51 -04:00
Michael Lazar d4412956ad Rate limiting proof of concept 2020-07-25 23:07:22 -04:00
Michael Lazar afa210db4f Fix mimetypes not loading the database from the filesystem. #38 2020-07-17 00:01:58 -04:00
Michael Lazar cfceeb111c Change unknown file extension mimetype to application/octet-stream 2020-07-16 23:59:15 -04:00
Michael Lazar 7215195b8c Split out access logs, fixes #37 2020-07-14 01:00:51 -04:00
Michael Lazar 57556e09f5 Change chunk size 2020-07-14 00:46:22 -04:00
Michael Lazar f59de7e9f0 Bumping version 2020-07-14 00:01:58 -04:00
Michael Lazar 9411f34920 Update TLS shutdown behavior, fixes #32. 2020-07-12 01:23:42 -04:00
Michael Lazar 8a3e009de8 Add redirect example script 2020-07-12 00:02:11 -04:00
Michael Lazar 7ec8edee7f Add support for keylog file to client tool 2020-07-11 23:58:25 -04:00
Michael Lazar efe41ece85 Small wording tweak 2020-06-21 00:43:48 -04:00
Michael Lazar 5dc39f37d2 Small wording tweak 2020-06-20 23:10:21 -04:00
Michael Lazar 0b8446c58f reject URLs with a userinfo component 2020-06-20 01:42:17 -04:00
Michael Lazar 1b07b0a594 update status code names to match the spec 2020-06-20 01:26:42 -04:00
Michael Lazar c20619ffcb Merge branch 'master' of github.com:michael-lazar/jetforce 2020-06-20 01:12:40 -04:00
Michael Lazar 6ce8d4887e Add chatroom example 2020-06-20 01:12:32 -04:00
Michael Lazar c288c72ad2 Better error handling for closed connections 2020-06-20 01:11:59 -04:00
Michael Lazar b49cf9d2b6 Remove dead code 2020-06-20 00:59:25 -04:00