Need to get information from the header. The title took so www.info ()
Server: nginx / 0.8.54
Date: Tue, 17 May 2011 16:06:35 GMT
Content-Type: text / html; charset = utf-8
Transfer-Encoding: chunked
Connection: close
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Set-Cookie: sid = 6957034190070305; domain =. spaces.ru ; path = /
I need to get sid = 6957034190070305 and assign it to a variable. Punched to make a list ( www.info ()) - but only headers are in the variable, that is, "Server", "Date", "Set-Cookie", without values.