cookie lib policy how-tp?

Marc Christiansen tolot at jupiter.solar-empire.de
Tue Dec 7 22:42:56 CET 2004


Riko Wichmann <riko.wichmann at remove-this.desy.de> wrote:
> Jonathan Ellis wrote:
>> 
>> Sounds like your first step should be to identify yourself as IE.
>> 
>> opener = urllib2.build_opener(...)
>> opener.addheaders = [("User-Agent", "whatever IE calls itself these
>> days")]
>> 
>> -Jonathan
>> 
> 
> Tried that already. At least, I hope I guessed at least one of the 
> possible identifiers correct: MSIE6.0, MSIE 6.0, MSIE/6.0

When my opera is set to identify as MSIE, it sends
 "Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686) Opera 7.54  [en]".

Saluton
  Marc



More information about the Python-list mailing list