Alex Oleshkevich
Alex Oleshkevich
This is a good one! I also agree that we need a global setting and per-route (Route + Mount). Use case: global limit - 1mb, photo upload endpoint - 10mb...
> Why should the ASGI application be the one to set this instead of the server? Example: global POST limit is 1mb, for selected endpoints that upload files - 100mb....
for reference: my approach which works on per-route basis https://github.com/encode/starlette/pull/2175
My main concern about middleware based approach is that it is very limited. Say, your global middleware will always have a large value. Because if just one route needs to...
Vue 2 version is no longer maintained.
I will get back to it in 2-3 days.
Not to be merged. Will post it as gist.
Published as gist - https://gist.github.com/alex-oleshkevich/68411a0e7ad24d53afd28c3fa5da468c
We have the same concern for postgres backend. I am not sure if we want to have automatic reconnects in the backend. This can cause another issues like extra configuration...
rel https://github.com/encode/broadcaster/issues/133