I am using this uwsgi app: http://projects.unbit.it/uwsgi/wiki
def application(env, start_response): start_response('200 OK', [('Content-Type','text/html')]) return "Hello World"
I would like to know what my current URL is, for example:
local: 9090 / some / path / here a = b & c = d
For some reason this is not in the docs. Did I miss something fundamental here? What should I look for? How to get the current URL?
In addition, how do you get things like:
Cookies, receiving language, headers, etc.
source share