Branch: Tag:

2003-01-19

2003-01-19 18:32:12 by Martin Nilsson <mani@lysator.liu.se>

Even better UA

Rev: lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:1.36

33:    if(!request_headers)    request_headers = ([]);    mapping default_headers = ([ -  "user-agent" : "Mozilla/5.0 (compatible; Pike HTTP client)", +  "user-agent" : "Mozilla/5.0 (compatible; MSIE 6.0; Pike HTTP client)" +  " Pike/" + __REAL_MAJOR__ + "." + __REAL_MINOR__ + "." + __REAL_BUILD__,    "host" : url->host ]);       if(url->user || url->passwd)