Comments (4)
Hello, a very similar question was asked here which has in its answer a solution. I'm now starting to strongly lean towards the before/after serving solution, do you think it would solve your issues?
from quart.
Sorry, I didn't think to check the issues on gitlab (only on github). The implemented solution is similar to mine.
I do think that implementing a before/after serving solution would be really useful, and would make integrating other libraries easier.
It should be possible for both gunicorn, and the builtin server, but I'm not sure you'd be able to ensure that they are executed with any other server.
from quart.
@vivescere I think this is the functionality that you want. It will be in the next release.
from quart.
This is exactly what I was looking for! Thank you for adding it.
from quart.
Related Issues (20)
- Add support mount other ASGI applications HOT 1
- Support after_response
- How to share websocket context in quart
- app.teardown_websocket no longer exists HOT 2
- Enhancing Blueprint Lifecycle Order
- ResourceWarning from `DataBody.__aiter__` HOT 1
- ResourceWarning: Unclosed file <tempfile.SpooledTemporaryFile object at 0...> in form handling HOT 1
- Server sent events seem to be capped at 6 connections HOT 1
- DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). HOT 2
- support insecure bind HOT 2
- Cannot load `QUART_` prefixed environment variables HOT 1
- AttributeError: 'Config' object has no attribute 'from_json' HOT 1
- async function support in url_defaults and url_value_preprocessor HOT 1
- incorrect display img logo on https://quart.palletsprojects.com/en/latest/
- Remove poetry from examples in documentation HOT 2
- Allow kwargs in Quart.test_client for custom test client implementations HOT 1
- unix socket support HOT 1
- reload() puts comman name after command line arguments HOT 2
- Hot reload does not work within poetry scripts HOT 2
- New doc contribution: Add a doc to integrate Quart with BentoML HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quart.