【发布时间】:2011-11-17 05:40:15
【问题描述】:
我正在使用这个 uwsgi 应用程序: http://projects.unbit.it/uwsgi/wiki
def application(env, start_response):
start_response('200 OK', [('Content-Type','text/html')])
return "Hello World"
我想知道我当前的网址是什么,例如:
localhost:9090/some/path/here?a=b&c=d
由于某种原因,这不在文档中。我在这里错过了一些基本的东西吗?我应该查什么?如何获取当前 URL?
另外,你如何得到类似的东西:
Cookie、接受语言、标头等
【问题讨论】: