Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/nonebot/nonecorn
ASGI server that forked from hypercorn, with extra features beyond asgi spec
https://github.com/nonebot/nonecorn
cbb6c86b8e554572d032c3c34c38057565a53b85 authored about 3 years ago
326f8cbd1980d153defebb662027e998de010f0a authored about 3 years ago
e1a4af03ac582876b2fb8db5b860345fd7853ae8 authored about 3 years ago
f7b92adcf7e28c5ba5fc0ffc12dbb4c3f292265e authored about 3 years ago
This allows users to use an encrypted keyfile without having to type
in the password interactively.
0b364bb36159d72c6d091118799499433a705917 authored about 3 years ago
1acc036471ad663ede3b3a622150eb5c6d817981 authored about 3 years ago
This should ensure that Hypercorn waits for serving tasks to complete
within a graceful timeout ...
This should help me remember to remove it when support for Python 3.7
is dropped.
This explains and clarifies the half closed behaviour.
6d85a032c496c4595fa9d9c0c7af28186cdad8b4 authored about 3 years agoa6b361bfefad201799667229073690e79c98511c authored about 3 years ago
0024016f4b173a02112a9e12fe9fc473153a6e66 authored about 3 years ago
2de0c3fcbb560209b1f89acee0ec9b7473d7ad3a authored about 3 years ago
8be98ac53d7ed7cca619dc292a6dde3161dc2361 authored about 3 years ago
d7a7a982ae6d856855610da4fb414944c4eb58c3 authored about 3 years ago
A EOF indicator, b"", sent by the client when closing (or half
closing) should be passed to the ...
This allows ASGI apps to specify a string reason for closing (should
they want to).
4573a971d8283eacaf063c490fd226b40e38a0ea authored about 3 years ago
afbf516418490367d2cbb713148868ba66edf7b5 authored about 3 years ago
e960fc77aed06489567ac5ac27dd36e67ee35d71 authored about 3 years ago
143c23a2480abd618fb82a58797e712b021a4222 authored about 3 years ago
836f3ce9a2fe01a0439b896bdfe67de303c03727 authored about 3 years ago
d46705c66857e4b2d6fa96767bfa35742f159078 authored about 3 years ago
222757f8da25fc5b716b790b93c23710942790b4 authored about 3 years ago
248d529237ab321f7992413607b4d90b43be3a21 authored about 3 years ago
I think this is an ok change as it these should be internal to
Hypercorn.
db3c371c204ed90f4c2b62e39648de5c8254cc26 authored about 3 years ago
e91cbdde8b0dc09c2c7ed860e73a34fa70bb7081 authored about 3 years ago
98f0ccacd4071425a78b20b492fd5c8bc217954d authored about 3 years ago
This adds it to the Trio TCP server and utilises the wait_for API for
a None valued timeout.
Adds a --read-timeout commandline parameter. When set, TCP connections
will wait that many secon...
878c7e66e2bf98eff55e99640fe32c7d830ecbff authored about 3 years ago
1fad5195190619197c737860c3189ece63e83931 authored about 3 years ago
This makes the message clearer and more helpful.
de51ee173bbf6a725c0b74064814d7457619c754 authored about 3 years ago
This removes noise during the tests making it easier tosee what the
actual issues are.
This avoids warnings printed when testing, which add noise and
confuse.
This avoids warnings printed when testing, which add noise and
confuse.
This should prevent and highlight bugs.
64548c5efa84d5a241a0ce2d6c6ad5bc9a11c192 authored about 3 years agoOtherwise misleading warnings are printed during the tests.
ea7fe12e8f5c2795d1f39ddff185cdb5edd8245a authored about 3 years agoThis is the recommended changes from the Python docs.
bc98bd44ace361bbcb09b505a2fe870d96ecbeb5 authored about 3 years agof160784384a8014730fd612d7a06ee0c442947ac authored about 3 years ago
8e2eb274716f761338feb7184bbba5b3df60c5ca authored about 3 years ago
The former has been deprecated.
ec440d52b873607fbf976d07adc5d38b5f97772c authored about 3 years ago9d54abd68696a8f5999e448e359b75e60da33513 authored about 3 years ago
This is based on Quart's configuration.
9fea5faada19ed68f794a78787be9db8143fd4cd authored about 3 years ago
This follows the other projects I maintain and the consistency will
help with the maintenance.
Note that asigref has also switched from master to main.
0579fa647580f5eb810df4778c34713b5ceb8204 authored about 3 years agoUsing the official icon.
4192dd11e0f5fa49d575590099e0e43dfc606f8e authored about 3 years ago
This should make the project easier to maintain by making it work the
same way as Quart and the ...
This allow projects depending on Hypercorn to specify uvloop extra
without worrying that install...
This can occur in AWS' setup when an authority header is incorrectly
omitted.
15e54b12702e9dd3b58941db1d9e5a6d0df232c3 authored about 3 years ago
Now it has been released.
8517557f979c9404deda11c1b5336977ba042858 authored about 3 years ago944910af7e69f0b3ab9d49e6a03da0caa99e99d9 authored over 3 years ago
9c7b05eb7c1ed14e939cfb9a6aa55765bcc5e6cb authored over 3 years ago
This is safe as these are internal APIs.
8f086d9dfaafd8a34d48037c920f12dcc6174b7a authored over 3 years ago38b538b14d3e36f7ed1d2609eed503adc4c98942 authored over 3 years ago
437dad4492457160fc2060cda88ff1fdffcd3a0c authored over 3 years ago
579e629df7a1b6b49ebd1d5da9e9bfc921c1ee4e authored over 3 years ago
cfbd72cf181792d5d16051e932bbe2e45a69579d authored over 3 years ago
f8a97b2e30dcbbbabe4e3dc185ee4c6440a5f058 authored over 3 years ago
ab072ca5e8eef341e9237a2a40fe6bb05fb245a2 authored over 3 years ago
The add_css_file is the new syntax.
ccf84eb35a7124135d980e64596977deab409c65 authored over 3 years agoThis leaves only flake8
9da2cfe3e07e342f8e80320e636b1122a64cc33f authored over 3 years ago
This allows the configuration to be moved to pyproject.toml leaving
only flake8 and pytest.
0df83d6a2b6323950860a8be8ca36de25699f6f1 authored over 3 years ago
c0fc888973227a6f59fbff886632c572c2c753bd authored over 3 years ago
fec0272f9fa92367c3396a3e9f22f1ce6f6e6696 authored almost 4 years ago
80235b0608b2c3869694649aacd6aae6b86e2771 authored almost 4 years ago
3d5945ac192cd00a095e14b2f659751fb754c91a authored almost 4 years ago
It is likely that users don't define their own extensions, but now
they can.
93e3c08c54c6de5ffdaaaed4e1b97aab4fcb7656 authored almost 4 years ago
This backports the Python 3.8 default to the code if run by Python
3.7.
Flake8-future-import ma...
30c76a12051efd6f012ded6fb56becec8b2bc1dc authored almost 4 years ago
This resolves one of the test warnings and logically makes sense to
do.
It seems to have not recognised these files before now, mypy relase
0.800.
If a root_path (WSGI SCRIPT_NAME) is specified the server should
return 404 to any requests that...
This reverts commit c9dd670eef4c7cfd6cecf93f56e819413e0436d4.
The ASGI spec is quite clear that...
08c948dfc978e3451745f8d725308b12d78fc21e authored about 4 years ago
If a root_path is specified the server should return 404 to any
requests that have a path that d...
a9357dea6cf64c14527656dfa3cd6d7147f0ad1f authored about 4 years ago
6ab2ab9f187526d5da5c2a12220d7abfc7573d0b authored about 4 years ago
The code is not optional
eb55446b2272ab5622c8af69c5bfc1c4fae759f8 authored about 4 years ago5fd8ac67dc083cb74211ea6c176d6f4af9548a97 authored about 4 years ago
This makes use of the TypedDict (added to Python in 3.8 and available
in the typing_extensions p...
This makes use of the TypedDict (added to Python in 3.8 and available
in the typing_extensions p...
a48f393605fcab4a7de46a793e9ef5260731152e authored about 4 years ago
45e4720eeb07a88b00b1a16b2d277f8a2fb4f6e6 authored about 4 years ago
It may be raised here, rather than in the worker_serve depending on
the system (Windows does this).
Sadly autobahn only supports Python2, and I'll likely have to disable
it soon (unless they suppo...
By including it in the CI testing.
60e7a1325c871556903f5c0693d8b7e144f6a92c authored about 4 years ago97d50ac45d7facf8420cc940f62ca91742ddb965 authored about 4 years ago
Instead of BrokenPipeError, ConnectionAbortedError,
ConnectionRefusedError and ConnectionResetEr...
301946b1de3b5a61d37f9f2dbceb6ca93b33362c authored about 4 years ago
06fb15657d71f4bf55f0c7ca68a8de2090361757 authored over 4 years ago
7e3b13a3865b916d63e257c87656863e2df5a61a authored over 4 years ago
This can be overriden by using a logging configuration. I think it
makes sense for errors to pro...
This reverts recent changes, and simplifies the logging configuration
to work as expected. This ...
d7d76ad7c473cb1c01e82eed4cdab5853d395c67 authored over 4 years ago
This reverts commit 3a3a2aab1f755d88f081716fdcab2799c0ec4f2c.
Disabling existing logger is only...
1a1c1c3feec8b164b680bb93e9f546e9090fb3ec authored over 4 years ago
This partially reverts 76e729c137f12862538f284e1dca7fda650bc403 and
d3da1c8c5d791eab4d5e4d4cb741...
This makes it possible to click the url in the terminal (in some
situations).