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
5e0415888a
Requests containing URLs without a scheme are no longer accepted.
2020-11-29 17:50:39 -05:00
Michael Lazar
1c0508d127
Bumping version
2020-07-30 21:24:07 -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
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
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
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
d65f2ae96f
Add missing dates to changelog
2020-06-09 00:27:49 -04:00
Michael Lazar
c3ac784639
Upping version
2020-06-09 00:23:43 -04:00
Michael Lazar
702c3dd7bd
Use a space character to separate the response status code from the meta string
2020-06-08 13:46:49 -04:00
Michael Lazar
218fc2af53
Add the new status code
2020-06-07 23:08:16 -04:00
Michael Lazar
a871b6017d
Add the ability to specify a lang parameter
2020-06-07 23:03:25 -04:00
Michael Lazar
9cc4a320c2
Add URL encoding and decoding to the path and other components
2020-06-01 21:12:05 -04:00
Michael Lazar
8048c7a9e5
Fix wording
2020-06-01 14:59:26 -04:00
Michael Lazar
af41d12157
Change certificate fingerprint to use url-safe base64 encoding
2020-06-01 14:56:44 -04:00
Michael Lazar
a6a56165ec
Changelog wording
2020-05-31 00:19:29 -04:00
Michael Lazar
f16d5901a1
Upping version
2020-05-31 00:15:33 -04:00
Michael Lazar
8deb372ca0
Fix verify_callback behavior, change "verified" to "authorised" to conform with the wording in the gemini specification.
2020-05-30 14:39:31 -04:00
Michael Lazar
9c5eb99266
Updating changelog and fixing examples
2020-05-26 00:25:48 -04:00
Michael Lazar
c09d0cb47e
Include TLS connection info variables with all requests
2020-05-25 23:52:11 -04:00
Michael Lazar
e5b1d5b41d
Merge branch 'v0.2.3'
2020-05-24 21:48:17 -04:00
Michael Lazar
50bde8b7f2
Fix a security vulnerability that allowed maliciously crafted URLs to break out of the root server directory.
2020-05-24 21:29:19 -04:00
Michael Lazar
701e16fe2a
Send regex named capture groups as keyword arguments
2020-05-24 00:39:47 -04:00
Michael Lazar
a138210ff9
Setting up a beta release candidate
2020-05-23 21:38:55 -04:00
Michael Lazar
5e0fd57f93
Allow a client certificate subject's CN to be blank.
2020-04-19 22:06:06 -04:00
Michael Lazar
ff2832f034
Fix path matching for static directory application
2020-03-31 10:41:39 -04:00
Michael Lazar
f6952559dd
Cutting release
2020-03-31 00:40:10 -04:00
Michael Lazar
0b272d076d
Use re.fullmatch() for route patterns
2020-03-26 15:49:19 -04:00
Michael Lazar
58d34db29d
Add CGI variables for client certificates
2020-03-11 23:26:47 -04:00
Michael Lazar
478fb81094
Add virtual hosting
2020-03-11 00:06:22 -04:00
Michael Lazar
183d374431
Cutting release
2020-01-21 18:17:33 -05:00
Michael Lazar
c7f0e1e4fb
Better docstrings
2020-01-12 20:36:00 -05:00