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
Currently, Python server implementations do not permit modification of a request's URI within the middleware. This restriction limits the middleware's ability to dynamically redirect the request to a different handler based on some condition.
Motivation
This enhancement aims to increase routing flexibility and offer more control to developers for handling requests in Python server implementations.
Allowing URI modification in the middleware would enhance routing flexibility. Specifically, this feature would enable middleware components to dynamically change the handler responsible for processing a given request by altering its URI. Additionally, it would provide server implementations the option to treat URIs with trailing slashes as equivalent to those without, simply by removing the trailing slash.
The text was updated successfully, but these errors were encountered:
Currently, Python server implementations do not permit modification of a request's URI within the middleware. This restriction limits the middleware's ability to dynamically redirect the request to a different handler based on some condition.
Motivation
This enhancement aims to increase routing flexibility and offer more control to developers for handling requests in Python server implementations.
Allowing URI modification in the middleware would enhance routing flexibility. Specifically, this feature would enable middleware components to dynamically change the handler responsible for processing a given request by altering its URI. Additionally, it would provide server implementations the option to treat URIs with trailing slashes as equivalent to those without, simply by removing the trailing slash.
The text was updated successfully, but these errors were encountered: