Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
request full url path in function context #1153
It would be very useful if from within the function we could retrieve the request full url path so that a single function, with a single deployment, can be used for multiple routes. This would still require some logic on the application side to map url paths to specific entry points/controllers.
Currently, for example using the Python environment (which comes pre-loaded with Flask), I haven't found any way to retrieve the request full url path. The Flask request object will return only the base domain and there are no headers that expose the full path.