Hi! medusa_http.py is broken :( From CHANGES: "* Simplify propagation of HTTP headers." Let's me see... print request.get_cookie("_test_cookie") # => None Ouch! What' that? print request.environ {'SERVER_SOFTWARE': 'ResourceMonitoring', 'SCRIPT_NAME': '', 'REQUEST_METHOD': 'GET', 'COOKIE': '_test_cookie="Test Cookie"; resource-monitoring-session-id=""', 'USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913', 'ACCEPT_LANGUAGE': 'ru,en;q=0.5', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': 'name=_test_cookie&value=Test+Cookie&finish=%2Fstatic%2Ftest- js.html&error=%2Fstatic%2Fno-cookie-error.html', 'REMOTE_ADDR': '10.110.21.2', 'ACCEPT_ENCODING': 'gzip,deflate', 'CONTENT_LENGTH': 0, 'SERVER_NAME': 'iskra.aviel.ru', 'REMOTE_PORT': '35070', 'ACCEPT_CHARSET': 'KOI8-R,utf-8;q=0.7,*;q=0.7', 'SERVER_PORT': '8081', 'SCRIPT_FILENAME': '', 'HOST': 'iskra.aviel.ru:8081', 'ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8 ,image/png,*/*;q=0.5', 'REQUEST_URI': '/cookie/test2?name=_test_cookie&value=Test+Cookie&finish=%2Fstatic%2Ftest- js.html&error=%2Fstatic%2Fno-cookie-error.html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'KEEP_ALIVE': '300', 'CONNECTION': 'keep-alive', 'CONTENT_TYPE': '', 'PATH_INFO': '/cookie/test2'} Aha! It is COOKIE instead of HTTP_COOKIE! Please, unsimplify the HTTP headers back! Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.