Found a solution. For query string you have to add it to both the http_headers 
dictionary AND to the URL when making the Request.

<h2>old line:</h2>
http_headers = {} 
http_headers['oauth_version'] = '1.0' 
<h2>new line:</h2>
http_headers = {} 
http_headers['date'] = 'ddmmyyyy' #add this line
http_headers['oauth_version'] = '1.0' 

<h2>old line:</h2>
req = urllib2.Request(base_url) 
<h2>new line:</h2>
req = urllib2.Request(base_url + '?date=ddmmyyyy') 
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to