scope['query_string']and the headers etc again myself
GitLab? Thanks your help in advance.
RuntimeError: Flask Patching only works with the default event loop policy.
hello, i was trying to figure out how the config files should be done in hypercorn, but i found 0 examples unfortunately. as far i as i got reading the documentation i have to insert the parameters in config.py as global variables. anyways hypercorn is ignoring those variables
i post the example file i wrote
import asyncio from quart import Quart from hypercorn.asyncio import serve from hypercorn.config import Config app = Quart(__name__) @app.route('/') async def hello(): return 'hello' if __name__ == '__main__': config = Config() config.from_pyfile("config.py") asyncio.run(serve(app, config))
this is my config.py
bind = '0.0.0.0:3068'
python3.7 main.py it starts it
[INFO] Running on http://127.0.0.1:8000
i think the config.py should not be written this way if getting ignored.
can someone give me a hint? thank you and sorry to bother you
from_pyfilereturns a config instance