You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a technique called DispatcherMiddleware it is possible to mount a Flask app only at an arbitrary prefix path.
Would it be possible for the http_app_func to manage only this mount path so that the app can register other HTTP endpoints (using durable functions and orchestrators for example)
The text was updated successfully, but these errors were encountered:
mycaule
changed the title
WsgiFunctionApp with DispatcherMiddleware and
WsgiFunctionApp with DispatcherMiddleware and registering new HTTP triggers blueprints
Apr 23, 2024
Using a technique called
DispatcherMiddleware
it is possible to mount a Flask app only at an arbitrary prefix path.Would it be possible for the
http_app_func
to manage only this mount path so that the app can register other HTTP endpoints (using durable functions and orchestrators for example)It appears every routes become managed by
http_app_func
because of the constant route template below.azure-functions-python-library/azure/functions/decorators/function_app.py
Lines 2842 to 2847 in b85eb7a
Moreover using the
host.json
file it looks like it is only possible to set the$.extensions.http.routePrefix
globallyhttps://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook?tabs=isolated-process%2Cfunctionsv2&pivots=programming-language-python#hostjson-settings
The text was updated successfully, but these errors were encountered: