People in the python community [was Re: Unicode issue with Python v3.3]

Νίκος Γκρ33κ nikos.gr33k at gmail.com
Wed Apr 10 06:50:20 EDT 2013


 os.environ['HTTP_USER_AGENT'] is only set when running from browser.

so i faked it by using:

userinfo = os.environ.get('HTTP_USER_AGENT', 'some default')

but the encoding issues are still there.



More information about the Python-list mailing list