views:

102

answers:

1

Is it possible to change User-Agent of Google App Engine UrlFetch service?

+3  A: 

Ok found it, it's possible since SDK 1.2.1 was released (Issue 342).
You just have to specify the User-Agent header:

urlfetch.fetch(url, headers = {'User-Agent': "MyApplication_User-Agent"}) 
systempuntoout